Code Duplication    Length = 8-8 lines in 2 locations

Tests/DependencyInjection/LiipMonitorExtensionTest.php 2 locations

@@ 100-107 (lines=8) @@
97
        $this->assertSame('default', $this->container->getParameter('liip_monitor.default_group'));
98
    }
99
100
    public function testDefaultGroupParameter()
101
    {
102
        $this->load(['checks' => ['php_extensions' => ['foo']]]);
103
        $this->compile();
104
105
        $this->assertTrue($this->container->hasParameter('liip_monitor.default_group'));
106
        $this->assertSame('default', $this->container->getParameter('liip_monitor.default_group'));
107
    }
108
109
    public function testDefaultGroupParameterCustom()
110
    {
@@ 109-116 (lines=8) @@
106
        $this->assertSame('default', $this->container->getParameter('liip_monitor.default_group'));
107
    }
108
109
    public function testDefaultGroupParameterCustom()
110
    {
111
        $this->load(['checks' => ['php_extensions' => ['foo']], 'default_group' => 'foo_bar']);
112
        $this->compile();
113
114
        $this->assertTrue($this->container->hasParameter('liip_monitor.default_group'));
115
        $this->assertSame('foo_bar', $this->container->getParameter('liip_monitor.default_group'));
116
    }
117
118
    public function testEnableController()
119
    {