예제 #1
0
 public void QueryWhenTimeoutAndRequestIsNullTest()
 {
     var engine = new EngineFacade<PlacesQueryAutoCompleteRequest, PlacesQueryAutoCompleteResponse>();
     Assert.Throws<ArgumentNullException>(() => engine.Query(null, new TimeSpan()));
 }
예제 #2
0
 public void QueryWhenRequestIsNullTest()
 {
     var engine = new EngineFacade<TestRequest, TestResponse>();
     Assert.Throws<ArgumentNullException>(() => engine.Query(null));
 }