public void QueryAsyncWhenRequestIsNullTest() { var engine = new EngineFacade<TestRequest, TestResponse>(); Assert.Throws<ArgumentNullException>(() => engine.QueryAsync(null)); }
public void QueryAsyncWhenRequestIsNullAndTimeoutAndCancellationTokenTest() { var engine = new EngineFacade<TestRequest, TestResponse>(); Assert.Throws<ArgumentNullException>(() => engine.QueryAsync(null, new TimeSpan(), new CancellationToken())); }