$this->controller =
$this->container->
get('entity_type.manager'
)->
getStorage('view'
);
// Confirm that an info array has been returned.
$this->
assertInstanceOf(EntityTypeInterface::
class,
$this->entityType
);
// CRUD tests.
$this->
loadTests();
$this->
createTests();
$this->
displayTests();
// Helper method tests
$this->
displayMethodTests();
} /**
* Tests loading configuration entities.
*/
protected function loadTests() { $view = View::
load('test_view_storage'
);
$data =
$this->
config('views.view.test_view_storage'
)->
get();
// Confirm that an actual view object is loaded and that it returns all of
// expected properties.