setUpdateOptions() public method

Used to initialise the missing side in an update form.
public setUpdateOptions ( )
コード例 #1
0
 /**
  * @covers SplitEventTypeElement::setUpdateOptions
  * @todo   Implement testSetUpdateOptions().
  */
 public function testSetUpdateOptions()
 {
     $this->object->eye = $this->eye('eyeLeft');
     $this->object->setUpdateOptions();
     $this->assertEquals('NoName', $this->object->right_name);
     $this->assertEquals(0, $this->object->right_number);
 }