예제 #1
0
        public void getAllManagers()
        {
            User  itamar = new User("checker", "123456");
            Store s      = sa.addStore("vadim and sons", itamar);
            User  temp   = new User("Vadim", "Vadim");

            Assert.IsTrue(sa.addStoreRole(new StoreManager(temp, s), s.getStoreId(), "Vadim"));
            Assert.AreEqual(1, sa.getAllManagers(s.getStoreId()).Count);
        }