public function testDeleteCollection_ExceptionOnCollectionDeleteError()
{
$this->collectionMock = $this->getMock('\\MongoCollection', array('drop'), array($this->database->getMongoDB(), 'phpmongo_test_collection'));
$this->collectionMock->expects($this->once())->method('drop')->will($this->returnValue(array('ok' => (double) 0, 'errmsg' => 'Some strange error')));
$collection = new Collection($this->database, $this->collectionMock);
$collection->delete();
}