public void Test_17_MoveActionsAndCommitViaResourceManager()
        {
			string basePath = "Win32\\";
			if (Marshal.SizeOf(typeof(IntPtr)) == 8)
				basePath = "x64\\";

#if DEBUG
			basePath += "debug\\";
#else
			basePath += "release\\";
#endif

            string assembly1 = Workshare.TestUtils.TestFileUtils.MakeRootPathAbsolute(basePath + @"Workshare.Policy.Actions.BlockUserAction.dll");
            string assembly2 = Workshare.TestUtils.TestFileUtils.MakeRootPathAbsolute(basePath + @"Workshare.Policy.Actions.AlertUserAction.dll");
            string assembly3 = Workshare.TestUtils.TestFileUtils.MakeRootPathAbsolute(basePath + @"Workshare.Policy.Actions.CleanUserAction.dll");
            string assembly4 = Workshare.TestUtils.TestFileUtils.MakeRootPathAbsolute(basePath + @"Workshare.Policy.Actions.PDFUserAction.dll");
            string assembly5 = Workshare.TestUtils.TestFileUtils.MakeRootPathAbsolute(basePath + @"Workshare.Policy.Actions.ZipUserAction.dll");
            string assembly6 = Workshare.TestUtils.TestFileUtils.MakeRootPathAbsolute(basePath + @"Workshare.Policy.Actions.TagMimeAction.dll");

            IResourceManager resourceManager = ResourceManagerFactory.CreateResourceManager("");
            resourceManager.ResourceActions.Add(assembly1);
            resourceManager.ResourceActions.Add(assembly2);
            resourceManager.ResourceActions.Add(assembly3);
            resourceManager.ResourceActions.Add(assembly4);
            resourceManager.ResourceActions.Add(assembly5);
            resourceManager.ResourceActions.Add(assembly6);


            ResourceListController controller = new ResourceListController();
            controller.ResourceManager = resourceManager;

            // Store the actions and their order
            IResourceActions storedActions = ResourceManagerFactory.CreateResourceActions();

            // Check the standard actions have been installed and are in the default order
            Assert.IsTrue(resourceManager.ResourceActions.Count == 6, "Expected 6 actions to be installed - this test should be run on a standard, clean, install");
            int i = 0;
            string[] expectedActionNamesDefault = {"Block", "Alert", "Clean", "PDF", "Zip", "Email Subject Tagger"};
            foreach (IResourceAction resourceAction in resourceManager.ResourceActions)
            {
                Assert.IsTrue(String.Compare(expectedActionNamesDefault[i], resourceAction.Name) == 0, String.Format(System.Globalization.CultureInfo.CurrentCulture, "Action name expected: {0}, actual: {1}", expectedActionNamesDefault[i], resourceAction.Name));
                i++;
            }
            controller.Remove(1);
            controller.Remove(2);
            // Commit the changes
            controller.Commit();

            i = 0;
            string[] expectedActionNamesAfterMove = { "Block", "Clean", "Zip", "Email Subject Tagger" };
            foreach (IResourceAction resourceAction in resourceManager.ResourceActions)
            {
                Assert.IsTrue(String.Compare(expectedActionNamesAfterMove[i], resourceAction.Name) == 0, String.Format(System.Globalization.CultureInfo.CurrentCulture, "Action name expected: {0}, actual: {1}", expectedActionNamesAfterMove[i], resourceAction.Name));
                i++;
            }
        }