public function testNormalizeObjectWithUninitializedPrivateProperties() { $obj =
new Php74DummyPrivate();
$this->
assertEquals( ['initializedProperty' => 'defaultValue'
],
$this->normalizer->
normalize($obj, 'any'
) );
} public function testNormalizeObjectWithPrivatePropertyWithoutGetter() { $obj =
new DummyPrivatePropertyWithoutGetter();
$this->
assertEquals( ['bar' => 'bar'
],
$this->normalizer->
normalize($obj, 'any'
) );
} public function testDenormalize() { $obj =
$this->normalizer->
denormalize( ['foo' => 'foo', 'bar' => 'bar', 'baz' => true, 'fooBar' => 'foobar'
],
ObjectDummy::
class,