You are here

public function SqlImportTest::testImportService in MongoDB 8.2

@covers ::__construct

File

modules/mongodb_storage/tests/src/Kernel/SqlImportTest.php, line 107

Class

SqlImportTest
Tests the import for the commands.mongodb.storage.import_keyvalue command.

Namespace

Drupal\Tests\mongodb_storage\Kernel

Code

public function testImportService() {
  $this
    ->assertInstanceOf(SqlImport::class, $this->sqlImport, "SQL import service is available");
  $this
    ->assertTrue(method_exists($this->sqlImport, 'import'));
}