@Test
 public void testAdd() {
   System.out.println("add");
   SampleResult res = new SampleResult();
   res.setAllThreads(1);
   res.setThreadName("test 1-2");
   res.setStampAndTime(System.currentTimeMillis(), 1000);
   ResponseTimesDistributionGui instance = new ResponseTimesDistributionGui();
   instance.add(res);
 }
 /** Test of getCurrentThreadCount method, of class AbstractVsThreadVisualizer. */
 @Test
 public void testGetCurrentThreadCount() {
   System.out.println("getCurrentThreadCount");
   long now = System.currentTimeMillis();
   SampleResult sample = new SampleResult();
   sample.setAllThreads(3);
   sample.setThreadName("test_tg");
   sample.setStampAndTime(now, 300);
   AbstractVsThreadVisualizer instance = new AbstractVsThreadVisualizerImpl();
   instance.add(sample);
   int expResult = 3;
   int result = instance.getCurrentThreadCount(sample);
   assertEquals(expResult, result);
 }