Esempio n. 1
0
        public void VerifyRemoveExistentGroup()
        {
            GroupsFacade groupsFacade = new GroupsFacade();
            GroupsFactory factory = new GroupsFactory();
            Group group = factory.CreateGroup();

            groupsFacade.DeleteGroup(group);

            groupsFacade.AssertGroupIsDeleted(group);
        }
Esempio n. 2
0
        public void VerifyCreateNewGroup()
        {
            GroupsFacade groupsFacade = new GroupsFacade();
            GroupsFactory factory = new GroupsFactory();
            Group group = factory.CreateGroup();

            groupsFacade.CreateNewGroup(group);

            groupsFacade.AssertGroupIsCreated(group);
        }