Code Duplication    Length = 7-7 lines in 2 locations

spec/ContainerBuilderSpec.php 2 locations

@@ 41-47 (lines=7) @@
38
        $this->getContainer()->shouldBeAnInstanceOf(ContainerInterface::class);
39
    }
40
41
    function it_hydrates_a_container_with_an_array_from_a_file(ContainerInterface $container)
42
    {
43
        $container->register(Argument::type('string'), Argument::any())->shouldBeCalledTimes(3);
44
        $this->beConstructedWith(__DIR__ .'/services/services1.php');
45
        $this->setContainer($container);
46
        $this->getContainer()->shouldBeAnInstanceOf(ContainerInterface::class);
47
    }
48
49
    function it_hydrates_a_container_with_all_arrays_form_the_files_within_a_directory(ContainerInterface $container)
50
    {
@@ 49-55 (lines=7) @@
46
        $this->getContainer()->shouldBeAnInstanceOf(ContainerInterface::class);
47
    }
48
49
    function it_hydrates_a_container_with_all_arrays_form_the_files_within_a_directory(ContainerInterface $container)
50
    {
51
        $container->register(Argument::type('string'), Argument::any())->shouldBeCalledTimes(6);
52
        $this->beConstructedWith(__DIR__ .'/services');
53
        $this->setContainer($container);
54
        $this->getContainer()->shouldBeAnInstanceOf(ContainerInterface::class);
55
    }
56
57
}
58