1 | <?php |
||
8 | class MissingEmailBlockExceptionTest extends TestCase |
||
9 | { |
||
10 | /** |
||
11 | * @expectedException \Netgen\Bundle\InformationCollectionBundle\Exception\MissingEmailBlockException |
||
12 | * @expectedExceptionMessage Missing email block in AcmeBundle::email.html.twig template, currently there is none available. |
||
13 | */ |
||
14 | public function testExceptionWithNoBlocks() |
||
18 | |||
19 | /** |
||
20 | * @expectedException \Netgen\Bundle\InformationCollectionBundle\Exception\MissingEmailBlockException |
||
21 | * @expectedExceptionMessage Missing email block in AcmeBundle::email.html.twig template, currently there is email available. |
||
22 | */ |
||
23 | public function testExceptionWithSingleBlock() |
||
27 | |||
28 | /** |
||
29 | * @expectedException \Netgen\Bundle\InformationCollectionBundle\Exception\MissingEmailBlockException |
||
30 | * @expectedExceptionMessage Missing email block in AcmeBundle::email.html.twig template, currently there are recipient, email available. |
||
31 | */ |
||
32 | public function testExceptionWithMultipleBlocks() |
||
36 | } |
||
37 |