public void TestAddingNonExistentUserToRoleIsSilentlyIgnored() { _provider.AddUserToRoles("Fred", new[] { "Administrator" }); var users = _provider.GetUsersInRole("Administrator"); CollectionAssert.AreEqual(new[] { "admin" }, users); }
public void TestAddingNonExistentUserToRoleIsSilentlyIgnored() { _provider.AddUserToRoles("Fred", new[] { "Administrator" }); var users = _provider.GetUsersInRole("Administrator"); CollectionAssert.AreEqual(new[] { "admin" }, users); }