@Test public void testToString() throws Exception { assertEquals(String.format("AuthenticationSuccess(user=%s)", user), res.toString()); }
@Override public String toString() { return String.format("AuthenticationSuccess(user=%s)", user); }
AuthenticationSuccess { @Override public String toString() { return String.format("AuthenticationSuccess(user=%s)", user); } }
AuthenticationSuccess { @Override public String toString() { return String.format("AuthenticationSuccess(user=%s)", user); } AuthenticationSuccess(User user); }
AuthenticationSuccess { @Override public String toString() { return String.format("AuthenticationSuccess(user=%s)", user); } AuthenticationSuccess(User user); User getUser(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString(); }
AuthenticationSuccess { @Override public String toString() { return String.format("AuthenticationSuccess(user=%s)", user); } AuthenticationSuccess(User user); User getUser(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString();  }