コード例 #1
0
        public async Task <List <DepartureResponse> > GetDepartureData()
        {
            var mbtaAppManager = new MbtaAppManager();

            var departureData = await mbtaAppManager.GetDepartureData();

            return(departureData);
        }
コード例 #2
0
        public async Task GetDepartureDataDepartTimeTBDAtEnd()
        {
            var departureData = await _mbtaAppManager.GetDepartureData();

            Assert.Equal("TBD", departureData.Last().DepartureTime);
        }