function OptionsProviderTest::setUp

Overrides BrowserTestBase::setUp

File

tests/src/Functional/OptionsProvider/OptionsProviderTest.php, line 59

Class

OptionsProviderTest
Tests using option providers.

Namespace

Drupal\Tests\rules\Functional\OptionsProvider

Code

protected function setUp() : void {
    parent::setUp();
    // The core OptionsProviderResolver uses this service to instantiate
    // options providers when given a ::class.
    $this->classResolver = $this->container
        ->get('class_resolver');
}