@Test public void toString_shouldReturnExpectedResult() throws Exception { ImapPushState imapPushState = new ImapPushState(23L); String result = imapPushState.toString(); assertEquals("uidNext=23", result); }
@Override public String toString() { return "uidNext=" + uidNext; }
ImapPushState { @Override public String toString() { return "uidNext=" + uidNext; } }
ImapPushState { @Override public String toString() { return "uidNext=" + uidNext; } ImapPushState(long uidNext); }
ImapPushState { @Override public String toString() { return "uidNext=" + uidNext; } ImapPushState(long uidNext); static ImapPushState parse(String pushState); @Override String toString(); }
ImapPushState { @Override public String toString() { return "uidNext=" + uidNext; } ImapPushState(long uidNext); static ImapPushState parse(String pushState); @Override String toString(); final long uidNext; }