@Test public void getUsername() throws Exception { assertEquals(username, credentials.getUsername()); }
public String getUsername() { return username; }
Credentials { public String getUsername() { return username; } }
Credentials { public String getUsername() { return username; } Credentials(String username, String password); protected  Credentials(); }
Credentials { public String getUsername() { return username; } Credentials(String username, String password); protected  Credentials(); String getUsername(); String getPassword(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString(); }
Credentials { public String getUsername() { return username; } Credentials(String username, String password); protected  Credentials(); String getUsername(); String getPassword(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString();  }