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()
28
28
*
29
29
* @expectedException \InvalidArgumentException
30
30
*/
31
- function validateConfigurationExpectedExceptionOnNotArray ()
31
+ function validateConfigurationExpectedExceptionOnEmpty ()
32
32
{
33
33
$ this ->invokeMethod (new ScriptHandler (), 'validateConfiguration ' , [[ScriptHandler::CONFIG_MAIN_KEY ]]);
34
34
}
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
+ }
35
45
36
46
/**
37
47
* @see ScriptHandler::validateConfiguration
You can’t perform that action at this time.
0 commit comments