/**
  * @test
  */
 public function getTypeOfChildPropertyShouldUseConfiguredTypeIfItWasSet()
 {
     $this->mockReflectionService->expects($this->never())->method('getClassSchema');
     $configuration = $this->buildConfiguration(array());
     $configuration->forProperty('thePropertyName')->setTypeConverterOption('TYPO3\\FLOW3\\Property\\TypeConverter\\PersistentObjectConverter', \TYPO3\FLOW3\Property\TypeConverter\PersistentObjectConverter::CONFIGURATION_TARGET_TYPE, 'Foo\\Bar');
     $this->assertEquals('Foo\\Bar', $this->converter->getTypeOfChildProperty('foo', 'thePropertyName', $configuration));
 }