@Test public void getUsername() throws Exception { assertEquals(credentials.getUsername(), request.getUsername()); }
public String getUsername() { return username; }
AuthenticationRequest { public String getUsername() { return username; } }
AuthenticationRequest { public String getUsername() { return username; } AuthenticationRequest(String username, Predicate<User> verifier);  AuthenticationRequest(Credentials credentials); }
AuthenticationRequest { public String getUsername() { return 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 { public String getUsername() { return 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();  }