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