public void DeleteTest()
 {
     _simpleProvider.CreateUserAndAccount(_userName, _pass, false, null);
     Assert.True(_simpleProvider.DeleteAccount(_userName));
     _simpleProvider.CreateAccount(_userName, _pass, false);
     Assert.True(_simpleProvider.DeleteUser(_userName, true));
 }
 public void DeleteTest()
 {
     try
     {
         _simpleProvider.CreateUserAndAccount(_userName, _pass, false, null);
         Assert.True(_simpleProvider.DeleteAccount(_userName));
         _simpleProvider.CreateAccount(_userName, _pass, false);
         Assert.True(_simpleProvider.DeleteUser(_userName, true));
     }
     catch (Exception)
     {
         throw;
     }
     finally
     {
         CleanUser();
     }
 }