@Test public void testHashCode() throws Exception { assertEquals(Objects.hash(credentials.getUsername()), request.hashCode()); }
@Override public int hashCode() { return Objects.hash(username); }
AuthenticationRequest { @Override public int hashCode() { return Objects.hash(username); } }
AuthenticationRequest { @Override public int hashCode() { return Objects.hash(username); } AuthenticationRequest(String username, Predicate<User> verifier);  AuthenticationRequest(Credentials credentials); }
AuthenticationRequest { @Override public int hashCode() { return Objects.hash(username); } AuthenticationRequest(String username, Predicate<User> verifier);  AuthenticationRequest(Credentials credentials); String getUsername(); Predicate<User> getVerifier(); boolean verify(User user); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString(); }
AuthenticationRequest { @Override public int hashCode() { return Objects.hash(username); } AuthenticationRequest(String username, Predicate<User> verifier);  AuthenticationRequest(Credentials credentials); String getUsername(); Predicate<User> getVerifier(); boolean verify(User user); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString();  }