/// <summary>
 /// Initializes a new instance of <see cref="AsyncProcessorBehavior"/>
 /// </summary>
 public AsyncProcessorBehavior(
     TestApi <Startup, IAsyncProcessorRequestsApi> asyncProcTestApi,
     TestApi <TestProcessor.Startup, IProcessorApi> procApi,
     ITestOutputHelper output
     )
 {
     _asyncProcTestApi = asyncProcTestApi;
     _procApi          = procApi;
     _output           = output;
 }
 public static async Task ResetUniqueReceivedEvents(HttpClient client)
 {
     await TestApi.ResetCounterValue(client, UniqueReceivedEventsUrl);
 }
 public static async Task <int> GetUniqueReceivedEvents(HttpClient client)
 {
     return(await TestApi.GetCounterValue(client, UniqueReceivedEventsUrl));
 }
 public static async Task ResetProcessedCommandsCounter(HttpClient client)
 {
     await TestApi.ResetCounterValue(client, ProcessedCommandsUrl);
 }
 public static async Task <int> GetProcessedCommands(HttpClient client)
 {
     return(await TestApi.GetCounterValue(client, ProcessedCommandsUrl));
 }