public void GetApplicationActions()
        {
            ApplicationActionList ApplicationActionList;

            ApplicationActionList = GetApplicationDataSource(true).GetApplicationActions(GetUserContext(), Settings.Default.TestApplicationId);
            Assert.IsTrue(ApplicationActionList.IsNotEmpty());
            Assert.IsInstanceOfType(ApplicationActionList[0], typeof(ApplicationAction));
        }
        public void GetApplicationActionsByGUIDs()
        {
            ApplicationActionList ApplicationActionList;
            List <String>         applicationActionGUIDs = new List <String>();

            applicationActionGUIDs.Add("3");
            applicationActionGUIDs.Add("4");

            ApplicationActionList = GetApplicationDataSource(true).GetApplicationActionsByGUIDs(GetUserContext(), applicationActionGUIDs);
            Assert.IsTrue(ApplicationActionList.IsNotEmpty());
            Assert.IsInstanceOfType(ApplicationActionList[0], typeof(ApplicationAction));
        }
        public void GetApplicationActionsByIdList()
        {
            ApplicationActionList ApplicationActionList;
            List <Int32>          applicationActionIdList = new List <Int32>();

            applicationActionIdList.Add(3);
            applicationActionIdList.Add(4);

            ApplicationActionList = GetApplicationDataSource(true).GetApplicationActionsByIds(GetUserContext(), applicationActionIdList);
            Assert.IsTrue(ApplicationActionList.IsNotEmpty());
            Assert.IsInstanceOfType(ApplicationActionList[0], typeof(ApplicationAction));
        }
        public void GetApplicationActions()
        {
            ApplicationActionList applicationActionList;
            List <Int32>          applicationActionIdList = new List <Int32>();

            applicationActionList = new ApplicationActionList();
            applicationActionIdList.Add(3);
            applicationActionIdList.Add(4);

            applicationActionList = GetAuthority(true).GetApplicationActionsByIdList(GetUserContext(), applicationActionIdList);
            Assert.IsTrue(applicationActionList.IsNotEmpty());
            Assert.IsInstanceOfType(applicationActionList[0], typeof(ApplicationAction));
            Assert.IsTrue(applicationActionList.Count > 1);
        }