Neos\Flow\Tests\Unit\Property\TypeConverter\PersistentObjectConverterTest::getTypeOfChildPropertyShouldUseConfiguredTypeIfItWasSet PHP Method

getTypeOfChildPropertyShouldUseConfiguredTypeIfItWasSet() public method

    public function getTypeOfChildPropertyShouldUseConfiguredTypeIfItWasSet()
    {
        $this->mockReflectionService->expects($this->never())->method('getClassSchema');
        $configuration = $this->buildConfiguration([]);
        $configuration->forProperty('thePropertyName')->setTypeConverterOption(PersistentObjectConverter::class, PersistentObjectConverter::CONFIGURATION_TARGET_TYPE, 'Foo\\Bar');
        $this->assertEquals('Foo\\Bar', $this->converter->getTypeOfChildProperty('foo', 'thePropertyName', $configuration));
    }