public async Task InvalidCode_ReturnsFalse() { var helper = new FakeUserHelper1(); helper.FakeSingleUseTokenService.Validate_Output = false; Assert.False(await helper.ValidatePasswordResetCode("key", 1234)); }
public async Task ValidCode_ReturnsTrue() { var helper = new FakeUserHelper1(); Assert.True(await helper.ValidatePasswordResetCode("key", 1234)); }