public void ValidateUsername_Success() { JwtAuthenticationService.ValidateUsername("*****@*****.**"); }
public void ValidateUsername_NoEmail() { Assert.Throws <UnprocessableEntityException>( () => JwtAuthenticationService.ValidateUsername("This is not a username")); }