public function validatorThrowsExceptionOnMultipleOrmIdAnnotations()
{
$this->prepareMockExpectations();
$this->classSchema->expects($this->once())->method('getIdentityProperties')->will($this->returnValue(['foo']));
$this->reflectionService->expects($this->once())->method('getPropertyNamesByAnnotation')->with('FooClass', 'Doctrine\\ORM\\Mapping\\Id')->will($this->returnValue(['dummy array', 'with more than', 'one count']));
$this->validator->validate(new \StdClass());
}