  @Test
  public void testTrace() throws IOException {

    Trace.setStorage(new BaseTraceStorage(new BlurConfiguration()) {
      @Override
      public void store(TraceCollector collector) {
        assertEquals("test", collector.getId().getRootId());
        assertEquals(3, collector.getTraces().size());
      }

      @Override
      public void close() throws IOException {
        
      }
    });
    Trace.setupTrace("test", null);
    Tracer trace = Trace.trace("1");
    long meth1;
    try {
      meth1 = meth1();
    } finally {
      trace.done();
    }
    System.out.println(meth1);
    Trace.tearDownTrace();
  }