public function testCreateCollection() { $this->database->map('collection', '\\WrongClass'); $this->database->createCollection('collection'); }