public function ConfigFormTest::testCreate in Flysystem 8
Same name and namespace in other branches
- 3.x tests/src/Unit/Form/ConfigFormTest.php \Drupal\Tests\flysystem\Unit\Form\ConfigFormTest::testCreate()
- 2.0.x tests/src/Unit/Form/ConfigFormTest.php \Drupal\Tests\flysystem\Unit\Form\ConfigFormTest::testCreate()
- 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\FormCode
public function testCreate() {
$container = new ContainerBuilder();
$container
->set('flysystem_factory', $this->factory
->reveal());
$this
->assertInstanceOf(ConfigForm::class, ConfigForm::create($container));
}