Implemented interface member:
method
ValidateAsync
Microsoft.AspNetCore.Identity.IRoleValidator<TRole>.ValidateAsync(Microsoft.AspNetCore.Identity.RoleManager<TRole>, TRole)
3 references to ValidateAsync
Microsoft.AspNetCore.Identity.Test (3)
RoleValidatorTest.cs (3)
17
await Assert.ThrowsAsync<ArgumentNullException>("manager", async () => await validator.
ValidateAsync
(null, null));
18
await Assert.ThrowsAsync<ArgumentNullException>("role", async () => await validator.
ValidateAsync
(manager, null));
32
var result = await validator.
ValidateAsync
(manager, user);