How do I query the database when using PHPunit? This is my current attempt. /** * Testing to see if table is installed */ public function testTableTest() { $ connection = $ this->getMock(‘Drupal\Tests\Core\Database\Stub\StubPDO’); //– What do I do next to query the database $ query = $ connection->query(“SHOW TABLES LIKE {does_my_table_exist}”); $ expected = ‘does_my_table_exist’;Read more