public void AgencyFileIsNotEmpty()
		{
			var sut = new AgencyParser();

			using (TextReader textReader = GetAgencyTextReader())
			{
				IEnumerable<Agency> agencies = sut.Parse(textReader);
				List<Agency> agencyList = agencies.ToList();

				Assert.NotNull(agencyList);
				Assert.True(agencyList.Any());
			}
		}
		public void CheckAgencyDataIsParsedCorrectly()
		{
			var sut = new AgencyParser();

			using (TextReader textReader = GetAgencyTextReader())
			{
				IEnumerable<Agency> agencies = sut.Parse(textReader);
				List<Agency> agencyList = agencies.ToList();

				Agency agency = agencyList[0];
				Assert.Equal("LI", agency.Id);
				Assert.Equal("en", agency.Language);
				Assert.Equal("Long Island Rail Road", agency.Name);
				Assert.Equal("718-558-7400", agency.Phone);
				Assert.Equal("America/New_York", agency.Timezone);
				Assert.Equal("http://web.mta.info/lirr", agency.Url);
				Assert.Null(agency.FareUrl);
			}
		}
		public void EnsureThatParsingOnNullTextReaderThrowsException()
		{
			var sut = new AgencyParser();

			Assert.ThrowsAny<ArgumentNullException>(() => sut.Parse(null));
		}