Exemplo n.º 1
0
        public void CanUseHacienda()
        {
            AddHaciendaTo(RoleOwner);
            var action = new TakeRandomPlantation();

            CanExecuteActionOnce(action, RoleOwner);
        }
Exemplo n.º 2
0
        public void CanCombineHaciendaAndPrivilege()
        {
            AddHaciendaTo(RoleOwner);
            IAction action = new TakeRandomPlantation();

            CanExecuteActionOnce(action, RoleOwner);
            action = new TakeQuarry();
            CanExecuteActionOnce(action, RoleOwner);
        }