public void CustomerFacade_AddTicket_TicketAdded() { AddToLogFile("run CustomerFacade AddTicket"); InitDBUnitTest.InitDB(); Ticket ticket1 = null; Ticket ticket2 = null; Customer customer = AdministratorFacade_CreateNewCustomer(); Flight flight = AirlineCompanyFacadeFacade_CreateNewFlight1(); ILoggedInCustomerFacade customerFacade = GetCustomerFacade(out LoginToken<Customer> tCustomer); ticket1 = customerFacade.PurchaseTicket(tCustomer, flight); ticket2 = customerFacade.GetTicketByCustomerUserName(tCustomer, customer.USER_NAME); Assert.AreEqual(ticket1, ticket2); }