Esempio n. 1
0
 public function testBindWithoutPriorSetData()
 {
     return;
     // TODO
     $field = $this->createMockField('firstName');
     $field->expects($this->any())->method('getData')->will($this->returnValue('Bernhard'));
     $group = new TestFieldGroup('author');
     $group->add($field);
     $group->bind(array('firstName' => 'Bernhard'));
     $this->assertEquals(array('firstName' => 'Bernhard'), $group->getData());
 }