Code Duplication    Length = 7-7 lines in 2 locations

module/Common/test/Factory/TranslatorFactoryTest.php 1 location

@@ 26-32 (lines=7) @@
23
    /**
24
     * @test
25
     */
26
    public function serviceIsCreated()
27
    {
28
        $instance = $this->factory->__invoke(new ServiceManager(['services' => [
29
            'config' => [],
30
        ]]), '');
31
        $this->assertInstanceOf(Translator::class, $instance);
32
    }
33
}
34

module/Rest/test/Authentication/AuthenticationPluginManagerFactoryTest.php 1 location

@@ 26-32 (lines=7) @@
23
    /**
24
     * @test
25
     */
26
    public function serviceIsProperlyCreated()
27
    {
28
        $instance = $this->factory->__invoke(new ServiceManager(['services' => [
29
            'config' => [],
30
        ]]), '');
31
        $this->assertInstanceOf(AuthenticationPluginManager::class, $instance);
32
    }
33
}
34