public function testGetCollection() { $this->assertEquals('model_mongo_testschema', TestSchema::getParentCollectionName()); $this->assertEquals('test_model_mongo_document', TestSchema::getCollectionName()); $this->assertInstanceOf('\\Reach\\Mongo\\Collection', TestSchema::getCollection()); $this->assertInstanceOf('\\MongoCollection', TestSchema::getMongoCollection()); }