public function testThrowsExceptionWhenUnableToDeleteAccessRule()
{
$this->aclCollection->expects($this->once())->method('update')->with(['publicKey' => 'public'], $this->isType('array'))->will($this->throwException(new MongoException()));
$this->adapter->deleteAccessRule('public', '49a7011a05c677b9a916612a');
}