$node->
normalize([]);
} /**
* @dataProvider getValidNonEmptyValues
*
* @param mixed $value
*/
public function testValidNonEmptyValues($value) { $node =
new ScalarNode('test'
);
$node->
setAllowEmptyValue(false
);
$this->
assertSame($value,
$node->
finalize($value));
} public static function getValidNonEmptyValues(): array
{ return [ [false
],
[true
],
['foo'
],
[0
],
[