@Test public void testNonPrintable() { SimpleEvent event = new SimpleEvent(); byte[] body = new byte[5]; event.setBody(body); String eventDump = EventHelper.dumpEvent(event); Assert.assertTrue(eventDump, eventDump.contains(".....")); }
public static String dumpEvent(Event event) { return dumpEvent(event, DEFAULT_MAX_BYTES); }
EventHelper { public static String dumpEvent(Event event) { return dumpEvent(event, DEFAULT_MAX_BYTES); } }
EventHelper { public static String dumpEvent(Event event) { return dumpEvent(event, DEFAULT_MAX_BYTES); }  }
EventHelper { public static String dumpEvent(Event event) { return dumpEvent(event, DEFAULT_MAX_BYTES); }  static String dumpEvent(Event event); static String dumpEvent(Event event, int maxBytes); }
EventHelper { public static String dumpEvent(Event event) { return dumpEvent(event, DEFAULT_MAX_BYTES); }  static String dumpEvent(Event event); static String dumpEvent(Event event, int maxBytes);  }