/** * @expectedException \Lug\Component\Grid\Exception\OptionNotFoundException * @expectedExceptionMessage The filter option "bar" could not be found. */ public function testMissingOption() { $this->filter->getOption('bar'); }
/** * @param string $name * @param string $label * @param string $type * @param string $form * @param mixed[] $formOptions * @param mixed[] $options */ public function __construct($name, $label, $type, $form, array $formOptions = [], array $options = []) { parent::__construct($name, $label, $type, $options); $this->form = $form; $this->formOptions = $formOptions; }