EntityViewTest has a newEntityView method that calls a static function EntityView::newForEntityContent() which pull in objects from the WikibaseRepo "registry" and from global state.
newEntityView is used in a bunch of test cases.
Version: master
Severity: normal