public function resolveValidatorObjectNameCanResolveShorthandValidatornamesForHierarchicalPackages()
{
$this->mockObjectManager->expects($this->at(0))->method('get')->with(ReflectionService::class)->will($this->returnValue($this->mockReflectionService));
$this->mockObjectManager->expects($this->at(1))->method('isRegistered')->with('Mypkg.Foo:My')->will($this->returnValue(false));
$this->mockObjectManager->expects($this->at(2))->method('isRegistered')->with('Mypkg\\Foo\\Validation\\Validator\\MyValidator')->will($this->returnValue(true));
$this->mockReflectionService->expects($this->any())->method('getAllImplementationClassNamesForInterface')->with(ValidatorInterface::class)->will($this->returnValue(['Mypkg\\Foo\\Validation\\Validator\\MyValidator']));
$this->assertSame('Mypkg\\Foo\\Validation\\Validator\\MyValidator', $this->validatorResolver->_call('resolveValidatorObjectName', 'Mypkg.Foo:My'));
}