public void DisableUser() { userWithEmail.AdditionalPermissions.Add(PermissionToken.DisableUsers); RefreshLoggedUser(); data.DisableUser(userWithoutEmail.Id); Assert.AreEqual(false, userWithoutEmail.Active, "User was disabled"); }