예제 #1
0
        public void Test_AddUser()
        {
            user.CreateOrder(sut.OrderNumber, sut.Address);
            user.AddOrder();

            Assert.True(sut.Users.Count > 0);
        }
예제 #2
0
        public void Test_AddOrder()
        {
            sut.CreateOrder(location.OrderNumber, location.Address);
            sut.AddOrder();

            Assert.Null(sut.CurrentOrder);
            Assert.True(sut.Orders.Count > 0);
        }