You are here

protected function ViewsBulkOperationsBatchTest::setUp in Views Bulk Operations (VBO) 8

Same name and namespace in other branches
  1. 8.3 tests/src/Unit/ViewsBulkOperationsBatchTest.php \Drupal\Tests\views_bulk_operations\Unit\ViewsBulkOperationsBatchTest::setUp()
  2. 8.2 tests/src/Unit/ViewsBulkOperationsBatchTest.php \Drupal\Tests\views_bulk_operations\Unit\ViewsBulkOperationsBatchTest::setUp()
  3. 4.0.x tests/src/Unit/ViewsBulkOperationsBatchTest.php \Drupal\Tests\views_bulk_operations\Unit\ViewsBulkOperationsBatchTest::setUp()

Overrides UnitTestCase::setUp

File

tests/src/Unit/ViewsBulkOperationsBatchTest.php, line 25

Class

ViewsBulkOperationsBatchTest
@coversDefaultClass \Drupal\views_bulk_operations\ViewsBulkOperationsBatch @group views_bulk_operations

Namespace

Drupal\Tests\views_bulk_operations\Unit

Code

protected function setUp() {
  parent::setUp();
  $this->container = new ContainerBuilder();
  \Drupal::setContainer($this->container);
}