@Test public void testSetPassword() throws Exception { final AuthIdentity authIdentity = new AuthIdentity("joe", "pw"); authIdentity.setPassword("banan"); assertEquals("banan", authIdentity.getPassword()); }
public void setPassword(String password) { this.password = password; }
AuthIdentity { public void setPassword(String password) { this.password = password; } }
AuthIdentity { public void setPassword(String password) { this.password = password; } protected  AuthIdentity();  AuthIdentity(String userName, String password); }
AuthIdentity { public void setPassword(String password) { this.password = password; } 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 setPassword(String password) { this.password = password; } 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();  }