public void CreateRoleTest1()
        {
            try
            {
                AppleseedRoleProvider provider = Roles.Provider as AppleseedRoleProvider;

                provider.CreateRole(Roles.ApplicationName, "editors");
                provider.CreateRole(Roles.ApplicationName, "clerks");
                provider.CreateRole(Roles.ApplicationName, "salesman");
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
                Assert.Fail("Error in CreateRoleTest1" + ex.Message, ex);
            }
        }
        public void DeleteRoleTest2()
        {
            try
            {
                AppleseedRoleProvider provider = Roles.Provider as AppleseedRoleProvider;

                provider.CreateRole("tempRole1");
                provider.DeleteRole("tempRole1", true);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
                Assert.Fail("Error in DeleteRoleTest2" + ex.Message, ex);
            }
        }
        public void CreateRoleTest3()
        {
            try
            {
                AppleseedRoleProvider provider = Roles.Provider as AppleseedRoleProvider;

                provider.CreateRole(Roles.ApplicationName, "Admins,editors");
                Assert.Fail();
            }
            catch (AppleseedRoleProviderException) { }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
                Assert.Fail("Error in CreateRoleTest3" + ex.Message, ex);
            }
        }
        public void DeleteRoleTest3()
        {
            try
            {
                AppleseedRoleProvider provider = Roles.Provider as AppleseedRoleProvider;

                provider.CreateRole("tempRole2");

                provider.AddUsersToRoles(new string[] { "*****@*****.**" }, new string[] { "tempRole2" });

                provider.DeleteRole("tempRole2", false);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
                Assert.Fail("Error in DeleteRoleTest3" + ex.Message, ex);
            }
        }