assertEquals(SelectConfigOption::FRONTEND_WIZARD_SELECT, $option->getFrontendType()); } public function testGetSelectOptions() { $option = new SelectConfigOption( 'test', SelectConfigOption::FRONTEND_WIZARD_SELECT, ['a', 'b'], 'path/to/value' ); $this->assertEquals(['a', 'b'], $option->getSelectOptions()); } /** * @expectedException \InvalidArgumentException * @expectedExceptionMessage Value specified for */ public function testValidateException() { $option = new SelectConfigOption( 'test', SelectConfigOption::FRONTEND_WIZARD_SELECT, ['a', 'b'], 'path/to/value' ); $option->validate('c'); } }