public void WhenDeleteSecurityGroup_Returns404NotFound_ShouldConsiderRequestSuccessful() { using (var httpTest = new HttpTest()) { Identifier securityGroupId = Guid.NewGuid(); httpTest.RespondWith((int)HttpStatusCode.NotFound, "Not here, boss..."); _compute.DeleteSecurityGroup(securityGroupId); httpTest.ShouldHaveCalled($"*/os-security-groups/{securityGroupId}"); } }