Trace { public boolean isEnabled() { return enabled; } Trace(Printer printer); static Trace createStdOutTrace(); Printer getPrinter(); boolean isEnabled(); Trace setEnabled(boolean enabled); Trace enableAll(); Trace disableAll(); boolean isEnabled(Category c); boolean isEnabled(EnumSet<Category> anyOf); Trace setEnabled(Category c, boolean enabled); Trace setWatchLevel(int watchLevel); WmeTraceType getWmeTraceType(); void setWmeTraceType(WmeTraceType wmeTraceType); Trace print(String format, Object... args); Trace print(String output); Trace print(Category c, String format, Object... args); Trace print(EnumSet<Category> anyOf, String format, Object... args); Trace print(Category c, String output); void flush(); Trace startNewLine();  }
@Test public void testEnabledByDefault() { assertTrue(trace.isEnabled()); }