}
@Test
public void testAdd() {
System.out.println("add");
JMXMonSampleResult res = new JMXMonSampleResult();
res.setSuccessful(true);
res.setValue(1.0);
JMXMonGuiEmul instance = new JMXMonGuiEmul();
instance.add(res);
assertEquals(1, instance.getModel_multi().size());
assertEquals(1, instance.getModel_multi().firstEntry().getValue().size());
assertEquals(0, instance.getModel_aggr().size());