| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 20 | public function testLoadExpectingException() |
||
| 21 | { |
||
| 22 | $fileLocator = new FileLocator(__DIR__ . '/Resources/config'); |
||
| 23 | $processorDouble = $this->getConfigurationProcessorDouble(array('processConfiguration')); |
||
| 24 | $processorDouble |
||
| 25 | ->expects($this->once()) |
||
| 26 | ->method('processConfiguration') |
||
| 27 | ->willReturn(array()); |
||
| 28 | |||
| 29 | $configuration = new Configuration($processorDouble, $fileLocator); |
||
| 30 | |||
| 31 | $this->setExpectedException('\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException'); |
||
| 32 | |||
| 33 | $configuration->load(); |
||
| 34 | } |
||
| 35 | } |
||
| 36 |