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

singletonCanHandleInjectedPrototypeWithSettingArgument() public method

    public function singletonCanHandleInjectedPrototypeWithSettingArgument()
    {
        $objectD = $this->objectManager->get(Fixtures\SingletonClassD::class);
        // Note: The "settingsArgument" is defined in the Settings.yaml of the Flow package (testing context)
        $this->assertSame('setting injected property value', $objectD->prototypeClassC->settingsArgument);
    }