public void DeleteTest()
 {
     using (var server = new HttpServer(new[]
     {
         new RequestHandler
         {
             EstimatedMethod = "DELETE",
             EstimatedPathAndQuery = string.Format("/v1.0/accounts/{0}/tnreservation/1", Helper.AccountId),
         }
     }))
     {
         var client = Helper.CreateClient();
         var i = new TnReservation { Id = "1" };
         i.SetClient(client);
         i.Delete().Wait();
         if (server.Error != null) throw server.Error;
     }
 }