protected virtual async Task OnWorkCompletedAsync(int result, bool runSynchronously, CancellationToken cancellationToken) =>
 await WorkCompleted.RaiseAsync(
     new TestSyncAsyncEventArgs(this, result, runSynchronously, cancellationToken),
     nameof(TestClient),
     nameof(Working),
     ClientDiagnostics)
 .ConfigureAwait(false);