Code Duplication    Length = 6-6 lines in 2 locations

tests/ModuleLoaderTest.php 2 locations

@@ 63-68 (lines=6) @@
60
     * @test
61
     * @depends testModuleLoaderGetModules
62
     */
63
    public function testModuleLoaderAdd() {
64
        $key = $this->testModule->getModuleName();
65
        $expected = [$key => $this->testModule];
66
        $this->loader->add($this->testModule);
67
        $this->assertEquals($expected, $this->loader->getModules());
68
    }
69
70
    /**
71
     * @test
@@ 85-90 (lines=6) @@
82
     * @test
83
     * @depends testModuleLoaderAdd
84
     */
85
    public function testModuleLoaderGetModule() {
86
        $this->loader->add($this->testModule);
87
        $modName = $this->testModule->getModuleName();
88
        $expected = $this->testModule;
89
        $this->assertEquals($expected, $this->loader->getModule($modName));
90
    }
91
92
    /**
93
     * @test