### Question:
AuthIdentity { @Override public String toString() { return "AuthIdentity{" + "user='" + user + '\'' + ", 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();  }### Answer:
@Test public void testToString() throws Exception { assertNotNull(new AuthIdentity().toString()); }