public function testFetchesEntitiesByType() { $this->assertEquals($this->entity, $this->annotation->entitiesByType('PERSON')[0]); }