@Test
public void testToString() {

  ProcessingDetails details = new ProcessingDetails(TimeUnit.MICROSECONDS);
  details.set(Timing.ENQUEUE, 10);
  details.set(Timing.QUEUE, 20, TimeUnit.MILLISECONDS);
  assertEquals("enqueueTime=10 queueTime=20000 handlerTime=0 " +
      "processingTime=0 lockfreeTime=0 lockwaitTime=0 locksharedTime=0 " +
      "lockexclusiveTime=0 responseTime=0", details.toString());
}