Exemplo n.º 1
0
        public void DeleteFloatingIP(HttpStatusCode responseCode)
        {
            using (var httpTest = new HttpTest())
            {
                Identifier floatingIPId = Guid.NewGuid();
                httpTest.RespondWith((int)responseCode, "All gone!");

                _networking.DeleteFloatingIP(floatingIPId);

                httpTest.ShouldHaveCalled($"*/floatingips/{floatingIPId}");
            }
        }