Esempio n. 1
0
 public function testUpdatePropertyDoesNotUpdatePropertyIfPropertyPathIsEmpty()
 {
     $object = new Author();
     $field = new TestField('firstName', array('property_path' => null));
     $field->bind('Bernhard');
     $field->updateProperty($object);
     $this->assertEquals(null, $object->firstName);
 }