sonar issue, AuthenticationMethodTest use assertNotEquals instead