Code Duplication    Length = 14-14 lines in 2 locations

tests/php/Core/Injector/InjectorTest.php 2 locations

@@ 654-667 (lines=14) @@
651
    /**
652
     * disabled for now
653
     */
654
    public function testStaticInjections()
655
    {
656
        $injector = new Injector();
657
        $config = array(
658
            NewRequirementsBackend::class,
659
        );
660
661
        $injector->load($config);
662
663
        $si = $injector->get(TestStaticInjections::class);
664
        $this->assertInstanceOf(
665
            NewRequirementsBackend::class,
666
            $si->backend
667
        );
668
    }
669
670
    public function testSetterInjections()
@@ 670-683 (lines=14) @@
667
        );
668
    }
669
670
    public function testSetterInjections()
671
    {
672
        $injector = new Injector();
673
        $config = array(
674
            NewRequirementsBackend::class,
675
        );
676
677
        $injector->load($config);
678
679
        $si = $injector->get(TestSetterInjections::class);
680
        $this->assertInstanceOf(
681
            NewRequirementsBackend::class,
682
            $si->getBackend()
683
        );
684
    }
685
686
    public function testCustomObjectCreator()