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