Example #1
0
        public void ReadJson()
        {
            bool expect = true;
            bool actual = false;

            try
            {
                StationLocationList stations = LocationHandler.getStationLocations();
                actual = stations.list[0].stationId == 1001 ? true : false;
            }
            catch (Exception e)
            {
                actual = false;
            }
            Assert.AreEqual(expect, actual);
        }