public void AfterScenario()
 {
     AccountsApi?.Dispose();
     ProviderEventsApi?.Dispose();
     CommitmentsApi?.Dispose();
     HmrcApi?.Dispose();
     EventsApiSubstitute?.Dispose();
     TokenApiSubstitute?.Dispose();
 }
 public void Teardown()
 {
     webApi?.Dispose();
 }