@Test
public void gaugeStore() {
final Role role = new Role("gauge", Unit.UNARY);
final CollectorGaugeDataStore store = new DelegatedCollectorGaugeDataStore();
store.addToGauge(role, 1234, 5678, "client1");
store.addToGauge(role, 987, 654, "client2");
final GaugeValuesRequest request = new GaugeValuesRequest(0, Integer.MAX_VALUE, role);
final Map<Long, Double> result = store.getGaugeValues(request);
final Map<Long, Double> client1 = store.getGaugeValues(request, "client1");
final Map<Long, Double> client2 = store.getGaugeValues(request, "client2");
assertNotNull(result);
assertNotNull(client1);
assertNotNull(client2);