public function testGetMongoCollection() { $this->assertInternalType(PHPUnit_Framework_Constraint_IsType::TYPE_OBJECT, My_ShantyMongo_User::getMongoCollection()); $this->assertEquals(TESTS_SHANTY_MONGO_DB . '.user', My_ShantyMongo_User::getMongoCollection()->__toString()); }