public function testCanAnnotateThrowsExceptionForNameArgumentSetToAnnotationInstance()
{
$owner = $this->mocks()->getUser();
$entity = $this->mocks()->getObject(['owner_guid' => $owner->guid]);
$entity->canAnnotate($owner->guid, new ElggAnnotation());
}