コード例 #1
0
        public async Task TestFindByAddressIdAsync()
        {
            int AddressId = 6;
            IEnumerable <Station> stations = await stationDao.FindByAddressIdAsync(AddressId);

            foreach (var station in stations)
            {
                Assert.IsTrue(station.AddressId == AddressId);
            }
        }