public function testGetSchema() { $schema = new Mongo_Mongo_Schema(); Epic_Mongo::addSchema('test', $schema); $this->assertInstanceOf('Epic_Mongo_Schema', Epic_Mongo::getSchema('test')); }
public function testAddSchema() { Epic_Mongo::addSchema('testCollection', new Collection_Mongo_Schema()); $this->assertInstanceOf('Epic_Mongo_Schema', Epic_Mongo::getSchema('testCollection')); }