Neos\Flow\Tests\Functional\ObjectManagement\DependencyInjectionTest::virtualObjectsDefinedInObjectsYamlCanUseAFactoryForTheirActualImplementation PHP Method

virtualObjectsDefinedInObjectsYamlCanUseAFactoryForTheirActualImplementation() public method

    public function virtualObjectsDefinedInObjectsYamlCanUseAFactoryForTheirActualImplementation()
    {
        $prototypeA = $this->objectManager->get(Fixtures\PrototypeClassAishInterface::class);
        $this->assertInstanceOf(Fixtures\PrototypeClassA::class, $prototypeA);
        $this->assertSame('value defined in Objects.yaml', $prototypeA->getSomeProperty());
    }