| 1 | <?php |
||
| 18 | class FabienCrassatCurriculumVitaeExtensionExpectedExceptionTest extends \PHPUnit\Framework\TestCase |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var ContainerBuilder |
||
| 22 | */ |
||
| 23 | private $configuration; |
||
| 24 | private $loader; |
||
| 25 | |||
| 26 | public function setUp() |
||
| 27 | { |
||
| 28 | $this->configuration = new ContainerBuilder; |
||
| 29 | $this->loader = new FabienCrassatCurriculumVitaeExtension; |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @expectedException \Symfony\Component\HttpKernel\Exception\NotFoundHttpException |
||
| 34 | */ |
||
| 35 | public function testBadDirectory() |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Creates a bad configuration |
||
| 42 | */ |
||
| 43 | private function createBadConfiguration() |
||
| 47 | |||
| 48 | /** |
||
| 49 | * Creates a configuration |
||
| 50 | */ |
||
| 51 | private function createConfiguration($config) |
||
| 56 | |||
| 57 | /** |
||
| 58 | * Gets a full config |
||
| 59 | * |
||
| 60 | * @return String[] |
||
| 61 | */ |
||
| 62 | private function getBadPathToCvConfig() |
||
| 72 | } |
||
| 73 |