public void GetTransportsInfoList_PassListOfTransports_GetCorrectListOfTransportInfo()
        {
            //Arrange
            List <Transports>     transports                 = TransportListStub.GetTransportList();
            TransportsService     transportsService          = GetTransportService();
            List <TransportsInfo> expectedTransportsInfoList = GetExpectedTransportsInfoList();

            //Act
            List <TransportsInfo> transportInfoList = transportsService.GetTransportsInfoList(transports);

            //Assert
            for (int i = 0; i < expectedTransportsInfoList.Count; i++)
            {
                Assert.AreEqual(expectedTransportsInfoList[i], transportInfoList[i]);
            }
        }
        public void GetTransportsInfoList_CallMethod_GetMax1000ListOfTransportInfo()
        {
            //Arrange
            TransportsService     transportsService          = GetTransportService();
            List <TransportsInfo> expectedTransportsInfoList = GetExpectedTransportsInfoList().OrderByDescending(x => x.DateFrom).ToList();

            //Act
            List <TransportsInfo> transportInfoList = transportsService.GetTransportsInfoList();

            //Assert
            for (int i = 0; i < expectedTransportsInfoList.Count; i++)
            {
                Assert.AreEqual(expectedTransportsInfoList[i], transportInfoList[i]);
            }
            Assert.That(transportInfoList.Count <= 1000);
        }