Code Duplication    Length = 10-10 lines in 2 locations

tests/Unit/ContainerTest.php 2 locations

@@ 36-45 (lines=10) @@
33
    }
34
35
    /** @test */
36
    public function it_has_a_config_path_getter()
37
    {
38
        $container = new Container;
39
40
        $this->assertEquals(BASE_PATH.DIRECTORY_SEPARATOR.'config', $container->configPath());
41
        $this->assertEquals(
42
            BASE_PATH.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'custom.php',
43
            $container->configPath('custom.php')
44
        );
45
    }
46
47
    /** @test */
48
    public function it_has_a_database_path_getter()
@@ 48-57 (lines=10) @@
45
    }
46
47
    /** @test */
48
    public function it_has_a_database_path_getter()
49
    {
50
        $container = new Container;
51
52
        $this->assertEquals(BASE_PATH.DIRECTORY_SEPARATOR.'database', $container->databasePath());
53
        $this->assertEquals(
54
            BASE_PATH.DIRECTORY_SEPARATOR.'database'.DIRECTORY_SEPARATOR.'migrations',
55
            $container->databasePath('migrations')
56
        );
57
    }
58
59
    /** @test */
60
    public function it_has_a_lang_path_getter()