public async Task RemoveSubscriptions_succeeds_when_not_connected() { var mock = new Mock <HttpMessageHandler>(); var bayeuxClient = new BayeuxClient(new HttpLongPollingTransportOptions() { HttpClient = new HttpClient(mock.Object), Uri = "none" }); await bayeuxClient.RemoveSubscriptionsAsync("dummy"); }