Пример #1
0
 public void should_not_getroadstatus_withinvaliddeveloperkey_and_return_exception()
 {
     PAssert.Throws <RoadRequestException>(() => RoadService.GetRoadStatus("A2", configuration["appId"], "xxxxxx"));
 }
Пример #2
0
 public void should_not_getroadstatus_withvalidroadname_and_return_exception()
 {
     PAssert.Throws <RoadRequestException>(() =>
                                           RoadService.GetRoadStatus("Z2", configuration["appId"], configuration["developerKey"]));
 }