public void NoTicketLeft()
 {
     AddToLogFile("run CustomerFacade NoTicketLeft Exception");
     InitDBUnitTest.InitDB();
     Flight newFlight1 = null;
     AdministratorFacade_CreateNewCustomer();
     Flight flight1 = AirlineCompanyFacadeFacade_CreateNewFlight1();
     ILoggedInCustomerFacade customerFacade = GetCustomerFacade(out LoginToken<Customer> tCustomer);
     ILoggedInAirlineFacade airlineCompanyFacade = GetAirlineCompanyFacade(out LoginToken<AirlineCompany> tAirlineCompany);
     newFlight1 = CreateNewFlight1();
     newFlight1.ID = flight1.ID;
     newFlight1.AIRLINECOMPANY_ID = flight1.AIRLINECOMPANY_ID;
     newFlight1.ORIGIN_COUNTRY_CODE = flight1.ORIGIN_COUNTRY_CODE;
     newFlight1.DESTINATION_COUNTRY_CODE = flight1.DESTINATION_COUNTRY_CODE;
     newFlight1.REMANING_TICKETS = 0;
     airlineCompanyFacade.UpdateRemainingTickets(tAirlineCompany, newFlight1);
     Flight flight2 = customerFacade.GetFlightByFlightId(tCustomer, newFlight1.ID);
     customerFacade.PurchaseTicket(tCustomer, flight2);
 }