public void RemoveApplicationSettingsTest() { string siteId = "1"; string sipPeerId = "test"; using (var server = new HttpServer(new[] { new RequestHandler { EstimatedMethod = "PUT", EstimatedPathAndQuery = $"/v1.0/accounts/{Helper.AccountId}/sites/{siteId}/sippeers/{sipPeerId}/products/messaging/applicationSettings", EstimatedContent = TestXmlStrings.RemoveApplicationResponse } })) { var client = Helper.CreateClient(); SipPeer.RemoveApplicationSettings(siteId, sipPeerId).Wait(); if (server.Error != null) { throw server.Error; } } }