public void when_a_DeleteTransaction_is_called_then_we_should_have_called_the_transaction_delete_once() { using (HttpTest httpTest = new HttpTest()) { httpTest.RespondWith(200, APIResponses.DeleteTransaction); var signhostApiClient = new SignHostApiClient(settings); signhostApiClient.DeleteTransaction("transaction Id"); httpTest.ShouldHaveCalled($"{settings.Endpoint}transaction/*") .WithVerb(HttpMethod.Delete) .Times(1); } }