1 | <?php |
||
18 | class SenderPluginManagerTest extends PHPUnit_Framework_TestCase |
||
19 | { |
||
20 | /** |
||
21 | * @var SenderPluginManager |
||
22 | */ |
||
23 | protected $pluginManager; |
||
24 | |||
25 | public function setUp() |
||
29 | |||
30 | /** |
||
31 | * @expectedException RuntimeException |
||
32 | */ |
||
33 | public function testValidatePluginThrowsExceptionIfPluginIsInvalid() |
||
37 | |||
38 | public function testValidatePluginDoesNothingIfPluginIsValid() |
||
43 | |||
44 | /** |
||
45 | * @expectedException RuntimeException |
||
46 | */ |
||
47 | public function testValidateThrowsExceptionIfPluginIsInvalid() |
||
51 | |||
52 | public function testValidateDoesNothingIfPluginIsValid() |
||
57 | } |
||
58 |