### Question:
Credentials { public String getUsername() { return username; } Credentials(String username, byte[] password);  Credentials(String username, String password); String getUsername(); byte[] getPassword(); String toString();  }### Answer:
@Test public void testGetUsername() throws Exception { Credentials credentials = new Credentials(USERNAME, PASSWORD_STRING); assertEquals(USERNAME, credentials.getUsername()); }