1 | <?php |
||
13 | class ExcludeShowsTest extends \PHPUnit_Framework_TestCase |
||
14 | { |
||
15 | public function testFilter() |
||
35 | |||
36 | /** |
||
37 | * @expectedException \AppBundle\Exception\ExcludeFilterException |
||
38 | * @expectedExceptionCode \AppBundle\Exception\ExcludeFilterException::UNDEFINED_PATH |
||
39 | */ |
||
40 | public function testUnsetPath() |
||
45 | |||
46 | /** |
||
47 | * @expectedException \AppBundle\Exception\ExcludeFilterException |
||
48 | * @expectedExceptionCode \AppBundle\Exception\ExcludeFilterException::MISSING_FILE |
||
49 | */ |
||
50 | public function testMissingFile() |
||
57 | |||
58 | /** |
||
59 | * @expectedException \AppBundle\Exception\ExcludeFilterException |
||
60 | * @expectedExceptionCode \AppBundle\Exception\ExcludeFilterException::INVALID_JSON |
||
61 | */ |
||
62 | public function testInvalidContent() |
||
74 | |||
75 | /** |
||
76 | * @expectedException \AppBundle\Exception\ExcludeFilterException |
||
77 | * @expectedExceptionCode \AppBundle\Exception\ExcludeFilterException::NOT_ARRAY |
||
78 | */ |
||
79 | public function testContentNotArray() |
||
91 | } |
||
92 |