@Test public void testToString() { Event event = new Event(EVENT_CODE, SESSION_ID, TRANSACTION_ID, P1, P2, P3); String actual = event.toString(); assertTrue(actual.contains(Event.class.getSimpleName())); assertTrue(actual.contains("eventCode")); assertTrue(actual.contains("sessionID")); assertTrue(actual.contains("transactionID")); assertTrue(actual.contains("p1")); assertTrue(actual.contains("p2")); assertTrue(actual.contains("p3")); }
@Override public String toString() { return ToStringBuilder.reflectionToString(this); }
Event { @Override public String toString() { return ToStringBuilder.reflectionToString(this); } }
Event { @Override public String toString() { return ToStringBuilder.reflectionToString(this); } Event(UINT16 eventCode, UINT32 sessionID, UINT32 transactionID);  Event(UINT16 eventCode, UINT32 sessionID, UINT32 transactionID, UINT32 p1);  Event(UINT16 eventCode, UINT32 sessionID, UINT32 transactionID, UINT32 p1, UINT32 p2);  Event(UINT16 eventCode, UINT32 sessionID, UINT32 transactionID, UINT32 p1, UINT32 p2, UINT32 p3); }
Event { @Override public String toString() { return ToStringBuilder.reflectionToString(this); } Event(UINT16 eventCode, UINT32 sessionID, UINT32 transactionID);  Event(UINT16 eventCode, UINT32 sessionID, UINT32 transactionID, UINT32 p1);  Event(UINT16 eventCode, UINT32 sessionID, UINT32 transactionID, UINT32 p1, UINT32 p2);  Event(UINT16 eventCode, UINT32 sessionID, UINT32 transactionID, UINT32 p1, UINT32 p2, UINT32 p3); UINT16 getEventCode(); UINT32 getSessionID(); UINT32 getTransactionID(); UINT32 getP1(); UINT32 getP2(); UINT32 getP3(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
Event { @Override public String toString() { return ToStringBuilder.reflectionToString(this); } Event(UINT16 eventCode, UINT32 sessionID, UINT32 transactionID);  Event(UINT16 eventCode, UINT32 sessionID, UINT32 transactionID, UINT32 p1);  Event(UINT16 eventCode, UINT32 sessionID, UINT32 transactionID, UINT32 p1, UINT32 p2);  Event(UINT16 eventCode, UINT32 sessionID, UINT32 transactionID, UINT32 p1, UINT32 p2, UINT32 p3); UINT16 getEventCode(); UINT32 getSessionID(); UINT32 getTransactionID(); UINT32 getP1(); UINT32 getP2(); UINT32 getP3(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }