We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 458a2e7 commit 01ec237Copy full SHA for 01ec237
test/DaemonOptionsTest.php
@@ -31,6 +31,17 @@ public function testDaemonOptions()
31
$this->assertEquals($timeLimit, $options->getOption(DaemonOptions::TIME_LIMIT));
32
}
33
34
+ /**
35
+ * Test that an InvalidArgumentException is thrown when an invalid logger
36
+ * is provided.
37
+ *
38
+ * @expectedException \InvalidArgumentException
39
+ */
40
+ public function testInvalidLogger()
41
+ {
42
+ new DaemonOptions([DaemonOptions::LOGGER => 'foo']);
43
+ }
44
+
45
/**
46
* Test that an InvalidArgumentException is thrown when the object is
47
* constructed with an unknown option.
0 commit comments