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

            groupsFacade.DeleteGroup(group);

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

            groupsFacade.CreateNewGroup(group);

            groupsFacade.AssertGroupIsCreated(group);
        }