public function getTypeOfChildPropertyShouldConsiderConstructors()
{
$mockSchema = $this->getMockBuilder(ClassSchema::class)->disableOriginalConstructor()->getMock();
$this->mockReflectionService->expects($this->any())->method('getClassSchema')->with('TheTargetType')->will($this->returnValue($mockSchema));
$this->mockReflectionService->expects($this->exactly(1))->method('getMethodParameters')->with('TheTargetType', '__construct')->will($this->returnValue(['anotherProperty' => ['type' => 'string']]));
$configuration = $this->buildConfiguration([]);
$this->assertEquals('string', $this->converter->getTypeOfChildProperty('TheTargetType', 'anotherProperty', $configuration));
}