Issue #2215961 by tim.plunkett, Berdir: Entity::urlInfo() should return \Drupal\Core\Url.