assertEquals(TextConfigOption::FRONTEND_WIZARD_TEXT, $option->getFrontendType()); } /** * @expectedException \InvalidArgumentException * @expectedExceptionMessage must be a string */ public function testValidateException() { $option = new TextConfigOption('test', TextConfigOption::FRONTEND_WIZARD_TEXT, 'path/to/value'); $option->validate(1); } }