public function testGetCollection() { $this->assertInstanceof('\\Sokil\\Mongo\\Collection', $this->database->getCollection('collection')); $this->assertInstanceof('\\Sokil\\Mongo\\Collection', $this->database->collection); }