Esempio n. 1
0
        public void Test_AddUser()
        {
            user.CreateOrder(sut.OrderNumber, sut.Address);
            user.AddOrder();

            Assert.True(sut.Users.Count > 0);
        }
Esempio n. 2
0
        public UserTest()
        {
            address     = new Address("1123 Fletcher St", "Tampa", "Florida");
            userAddress = new Address("51 Viking Oak", "Tampa", "Florida");

            sut      = new us.User("admin", "password", userAddress);
            location = new lo.Location(address);

            sut.CreateOrder(location.OrderNumber, location.Address);
        }
Esempio n. 3
0
 public void Test_CreateOrder()
 {
     sut.CreateOrder(location.OrderNumber, location.Address);
     Assert.NotNull(sut.CurrentOrder);
 }