public function testNotAnEntity() { $mapper = new AnnotationMapper(); $entity = new NotAnEntity(); $mapper->getEntityMetadata($entity); }