Neos\Flow\Tests\Functional\ObjectManagement\ObjectManagerTest::interfaceObjectsHaveTheScopeDefinedInTheImplementationClassIfNothingElseWasSpecified PHP Method

interfaceObjectsHaveTheScopeDefinedInTheImplementationClassIfNothingElseWasSpecified() public method

    public function interfaceObjectsHaveTheScopeDefinedInTheImplementationClassIfNothingElseWasSpecified()
    {
        $objectByInterface = $this->objectManager->get(Fixtures\InterfaceA::class);
        $objectByClassName = $this->objectManager->get(Fixtures\InterfaceAImplementation::class);
        $this->assertSame($objectByInterface, $objectByClassName);
    }