예제 #1
0
        public void AddingTourForRegistratedCustomer()
        {
            var customer  = DefaultCreator.createRegistrateCustomer();
            var tourOrder = DefaultCreator.createTourOrder(
                DefaultCreator.createTour()
                , DefaultCreator.createCustomer());

            customer.addTour(tourOrder);

            Assert.NotNull(customer.Account);
            Assert.IsTrue(customer.Account.History.Contains(tourOrder));
        }
예제 #2
0
        public void AccountInitAfterCustomerRegistrated()
        {
            var customer = DefaultCreator.createRegistrateCustomer();

            Assert.NotNull(customer.Account);
        }