public void AnonymousFacade_GetAllFlightsByVacanvy_FlightsReceived() { InitDBUnitTest.InitDB(); Flight flight = AirlineCompanyFacadeFacade_CreateNewFlight1(); AnonymousUserFacade anonymousFacade = GetAnonymousFacade(); Dictionary <Flight, int> FlightsByVacancy1 = new Dictionary <Flight, int>(); FlightsByVacancy1.Add(flight, flight.REMANING_TICKETS); Dictionary <Flight, int> FlightsByVacancy2 = anonymousFacade.GetAllFlightsByVacancy(); Assert.AreNotEqual(FlightsByVacancy1, null); Assert.AreNotEqual(FlightsByVacancy2, null); CollectionAssert.AreEqual(FlightsByVacancy1, FlightsByVacancy2); Assert.AreEqual(FlightsByVacancy1[flight], FlightsByVacancy2[flight]); }