Beispiel #1
0
 public void CancelAsyncIfTestRunRequestDisposedThrowsObjectDisposedException()
 {
     testRunRequest.Dispose();
     Assert.ThrowsException <ObjectDisposedException>(() => testRunRequest.CancelAsync());
 }
 public void CancelAsyncIfTestRunRequestDisposedShouldNotThrowException()
 {
     testRunRequest.Dispose();
     testRunRequest.CancelAsync();
 }