### Question:
MethodEvent implements Serializable { @Override public String toString() { return "MethodEvent{" + "className='" + className + '\'' + ", methodAccessFlag=" + methodAccessFlag + ", methodName='" + methodName + '\'' + ", methodDesc='" + methodDesc + '\'' + ", isEnter=" + isEnter + ", eventTimeMillis=" + eventTimeMillis + ", type=" + type + '}'; } MethodEvent(String className, int methodAccessFlag, String methodName, String methodDesc, boolean isEnter, long eventTimeMillis, int type); @Override String toString(); public String className; public int methodAccessFlag; public String methodName; public String methodDesc; public boolean isEnter; public long eventTimeMillis; public int type; transient MethodEvent pairMethodEvent; }### Answer:
@Test public void testToString() { Log4Test.d(MethodEventHelper.createRandomMethodEvent().toString()); }