Пример #1
0
 public void QueryAsyncWhenRequestIsNullTest()
 {
     var engine = new EngineFacade<TestRequest, TestResponse>();
     Assert.Throws<ArgumentNullException>(() => engine.QueryAsync(null));
 }
Пример #2
0
 public void QueryAsyncWhenRequestIsNullAndTimeoutAndCancellationTokenTest()
 {
     var engine = new EngineFacade<TestRequest, TestResponse>();
     Assert.Throws<ArgumentNullException>(() => engine.QueryAsync(null, new TimeSpan(), new CancellationToken()));
 }