public function validatorThrowsExceptionIfValueIsNotReflectedAtAll() { $this->classSchema->expects($this->once())->method('getModelType')->will($this->returnValue(null)); $this->validator->validate(new \stdClass()); }