| Total Complexity | 5 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | class EkinoNewRelicExtensionTest extends AbstractExtensionTestCase |
||
| 20 | { |
||
| 21 | protected function getContainerExtensions() |
||
| 22 | { |
||
| 23 | return [new EkinoNewRelicExtension()]; |
||
| 24 | } |
||
| 25 | |||
| 26 | protected function setUp() |
||
| 31 | } |
||
| 32 | |||
| 33 | public function testDefaultConfiguration() |
||
| 34 | { |
||
| 35 | $this->load(); |
||
| 36 | |||
| 37 | $this->assertContainerBuilderHasService('ekino.new_relic.twig.new_relic_extension'); |
||
| 38 | $this->assertContainerBuilderHasService('ekino.new_relic.command_listener'); |
||
| 39 | $this->assertContainerBuilderNotHasService('ekino.new_relic.exception_listener'); |
||
| 40 | } |
||
| 41 | |||
| 42 | public function testAlternativeConfiguration() |
||
| 53 | } |
||
| 54 | |||
| 55 | public function testDeprecation() |
||
| 62 |