TraceOptions { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("optionsMask", optionsMask) .toString(); } TraceOptions();  TraceOptions(int optionsMask); static TraceOptions forTraceDisabled(); static TraceOptions forTraceEnabled(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); int getOptionsMask(); boolean getTraceEnabled(); boolean getStackTraceEnabled(); TraceOptions overrideTraceEnabled(boolean enabled); TraceOptions overrideStackTraceEnabled(boolean enabled);  }
@Test public void testToString() { assertThat(traceEnabled.toString()).isEqualTo("TraceOptions{optionsMask=1}"); }