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