public void GetNetworkdDatasetPrj_DatasetNameIsEmpty()
 {
     try
     {
         NetworkAnalyst networkAnalyst = new NetworkAnalyst("http://" + ip + ":8090/iserver/services/transportationanalyst-sample/rest");
         PrjCoordSys prj = networkAnalyst.GetNetworkDatasetPrj("");
     }
     catch (ArgumentNullException exception)
     {
         Assert.IsTrue(exception.ParamName == "networkDatasetName");
     }
 }
 public void GetNetworkdDatasetPrj()
 {
     NetworkAnalyst networkAnalyst = new NetworkAnalyst("http://" + ip + ":8090/iserver/services/transportationanalyst-sample/rest");
     PrjCoordSys prj = networkAnalyst.GetNetworkDatasetPrj("RoadNet@Changchun");
     Assert.IsNotNull(prj);
     Assert.IsTrue(prj.CoordUnit == Unit.METER);
     Assert.IsTrue(prj.DistanceUnit == Unit.METER);
     Assert.IsTrue(prj.EpsgCode == -1000);
     Assert.IsTrue(prj.Name == "Planar Coordinate System---m");
     Assert.IsTrue(prj.Type == PrjCoordSysType.PCS_NON_EARTH);
     Assert.IsNull(prj.CoordSystem);
 }