public function validatorThrowsExceptionIfThereIsNoIdentityProperty()
{
$this->prepareMockExpectations();
$this->classSchema->expects($this->once())->method('getIdentityProperties')->will($this->returnValue([]));
$this->validator->validate(new \StdClass());
}