function ConnectionTest::testIdentifierQuotesAssertCount
@covers ::__construct
      
    
File
- 
              core/
tests/ Drupal/ Tests/ Core/ Database/ ConnectionTest.php, line 583  
Class
- ConnectionTest
 - Tests the Connection class.
 
Namespace
Drupal\Tests\Core\DatabaseCode
public function testIdentifierQuotesAssertCount() : void {
  $this->expectException(\AssertionError::class);
  $this->expectExceptionMessage('\\Drupal\\Core\\Database\\Connection::$identifierQuotes must contain 2 string values');
  $mock_pdo = $this->createMock(StubPDO::class);
  new StubConnection($mock_pdo, [], [
    '"',
  ]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.