public function testDenormalizeNonExistingAttribute() { $this->assertEquals(new ObjectDummy(), $this->normalizer->denormalize(array('non_existing' => true), __NAMESPACE__ . '\\ObjectDummy')); }
public function testNormalizeStatic() { $this->assertEquals(array('foo' => 'K'), $this->normalizer->normalize(new ObjectWithStaticPropertiesAndMethods())); }
public function testNoTraversableSupport() { $this->assertFalse($this->normalizer->supportsNormalization(new \ArrayObject())); }