You are here

public function ConfigFormTest::testCreate in Flysystem 8

Same name and namespace in other branches
  1. 3.x tests/src/Unit/Form/ConfigFormTest.php \Drupal\Tests\flysystem\Unit\Form\ConfigFormTest::testCreate()
  2. 2.0.x tests/src/Unit/Form/ConfigFormTest.php \Drupal\Tests\flysystem\Unit\Form\ConfigFormTest::testCreate()
  3. 3.0.x tests/src/Unit/Form/ConfigFormTest.php \Drupal\Tests\flysystem\Unit\Form\ConfigFormTest::testCreate()

@covers ::create @covers ::__construct

File

tests/src/Unit/Form/ConfigFormTest.php, line 66

Class

ConfigFormTest
@coversDefaultClass \Drupal\flysystem\Form\ConfigForm @group flysystem

Namespace

Drupal\Tests\flysystem\Unit\Form

Code

public function testCreate() {
  $container = new ContainerBuilder();
  $container
    ->set('flysystem_factory', $this->factory
    ->reveal());
  $this
    ->assertInstanceOf(ConfigForm::class, ConfigForm::create($container));
}