@Test public void testSetUser() throws Exception { final AuthIdentity authIdentity = new AuthIdentity("joe", "pw"); authIdentity.setUser("banan"); assertEquals("banan", authIdentity.getUser()); }
public void setUser(String userName) { this.user = userName; }
AuthIdentity { public void setUser(String userName) { this.user = userName; } }
AuthIdentity { public void setUser(String userName) { this.user = userName; } protected  AuthIdentity();  AuthIdentity(String userName, String password); }
AuthIdentity { public void setUser(String userName) { this.user = userName; } protected  AuthIdentity();  AuthIdentity(String userName, String password); String getUser(); void setUser(String userName); String getPassword(); void setPassword(String password); String getOrigin(); void setOrigin(String origin); @Override String toString(); }
AuthIdentity { public void setUser(String userName) { this.user = userName; } protected  AuthIdentity();  AuthIdentity(String userName, String password); String getUser(); void setUser(String userName); String getPassword(); void setPassword(String password); String getOrigin(); void setOrigin(String origin); @Override String toString();  }