$this->container->
get('theme_installer'
)->
install(['stark'
]);
} /**
* Tests CRUD operations.
*/
public function testBlockCRUD() { $this->
assertInstanceOf(ConfigEntityStorage::
class,
$this->controller
);
// Run each test method in the same installation.
$this->
createTests();
$this->
loadTests();
$this->
deleteTests();
} /**
* Tests the creation of blocks.
*/
protected function createTests() { // Attempt to create a block without a plugin.
try { $entity =
$this->controller->
create([]);