示例#1
0
 /**
  * @covers ::generate
  * @group  Fieldset
  */
 public function testGenerateForm()
 {
     $config = [['type' => 'form']];
     $form = $this->builder->generate($config)[0];
     $this->assertInstanceOf('Fuel\\Fieldset\\Form', $form);
 }
示例#2
0
 /**
  * @param string $name
  *
  * @return InputElement
  *
  * @since 2.0
  */
 public function getElementInstance($name)
 {
     return $this->builder->getElementInstance($name);
 }