示例#1
0
 /**
  * Make sure an exception is thrown if document does not belong to a collection
  * 
  * @expectedException Shanty_Mongo_Exception
  */
 public function testDeleteException()
 {
     $name = new My_ShantyMongo_Name();
     $name->delete();
 }