public void testWork() throws InterruptedException {
System.out.println("work");
PerfMonGui instance = new PerfMonGui();
PerfMonCollector collector = (PerfMonCollector) instance.createTestElement();
//collector.setListener(instance);
collector.testStarted();
//collector.testIterationStart(null);
Thread.sleep(2000);
collector.testEnded();
//assertEquals(5, instance.model.firstEntry().getValue().size());
}