Report { public Report() { buf = new StringBuilder("X-Trace Report ver 1.0\n"); map = null; } Report(); private  Report(String s); void put(final String key, final String value, boolean append); void put(final String key, final String value); void remove(final String key); XTraceMetadata getMetadata(); List<String> get(String key); @Override String toString(); static Report createFromString(final String s); @Override boolean equals(Object o);  }
@Test public void testReport() { Report r = new Report(); assertNotNull(r.toString()); assertEquals("X-Trace Report ver 1.0\n", r.toString()); }