  @Test
  public void testOneGroupOneCounterToJson() throws SerializationException {

    Counters counters = new Counters();
    counters.incrCounter("SomeCounterGroupName", "SomeCounterName", 3);
    String json = MapRedStatsLogModule.toJson(counters);
    assertEquals(
        "[{\"groupName\":\"SomeCounterGroupName\",\"counters\":[{\"counterNa"
          + "me\":\"SomeCounterName\",\"value\":3}]}]",
        json);
  }