File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,20 @@ function validateConfigurationExpectedExceptionOnNotExistingKey()
2828 *
2929 * @expectedException \InvalidArgumentException
3030 */
31- function validateConfigurationExpectedExceptionOnNotArray ()
31+ function validateConfigurationExpectedExceptionOnEmpty ()
3232 {
3333 $ this ->invokeMethod (new ScriptHandler (), 'validateConfiguration ' , [[ScriptHandler::CONFIG_MAIN_KEY ]]);
3434 }
35+ /**
36+ * @see ScriptHandler::validateConfiguration
37+ * @test
38+ *
39+ * @expectedException \InvalidArgumentException
40+ */
41+ function validateConfigurationExpectedExceptionOnNotArray ()
42+ {
43+ $ this ->invokeMethod (new ScriptHandler (), 'validateConfiguration ' , [[ScriptHandler::CONFIG_MAIN_KEY => 'string ' ]]);
44+ }
3545
3646 /**
3747 * @see ScriptHandler::validateConfiguration
You can’t perform that action at this time.
0 commit comments