ConfigurationEvent { @Override public String toString() { return toStringHelper(this) .add("type", type) .add("node", node) .add("rootNode", rootNode) .toString(); } ConfigurationEvent(final EventType type, final ConfigurationNode node, final RootNode rootNode);  ConfigurationEvent(final EventType type); EventType getType(); ConfigurationNode getNode(); RootNode getRootNode(); @Override String toString();  }
@Test public void testToString() throws Exception { ConfigurationEvent event = buildConfigurationEvent(null); assertNotNull(event.toString()); }