BasicInformational extends AbstractMonitor<String> implements Informational { @Override public String getValue(int pollerIndex) { return info.get(); } BasicInformational(MonitorConfig config); void setValue(String value); @Override String getValue(int pollerIndex); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }
@Test public void testGetValue() throws Exception { BasicInformational c = newInstance("foo"); assertEquals(c.getValue(), null); c.setValue("bar"); assertEquals(c.getValue(), "bar"); }