public function tearDown()
{
$this->adapter = null;
}
/** * Drop the test database after each test */ public function tearDown() { if (class_exists('MongoDB\\Client')) { $client = new MongoClient(); $client->dropDatabase($this->databaseName); } parent::tearDown(); }