assertThat(tagGroupResults.getGroup().size(), equalTo(2));
assertThat(tagGroupResults.getGroup().get("bucket"), equalTo("5-10s"));
assertThat(tagGroupResults.getGroup().get("customer"), equalTo("Acme"));
// Time Group
TimeGroupResult timeGroupResults = (TimeGroupResult) results.get(0).getGroupResults().get(3);
assertThat(timeGroupResults.getName(), equalTo("time"));
assertThat(timeGroupResults.getGroupCount(), equalTo(168));
assertThat(timeGroupResults.getRangeSize().getValue(), equalTo(1));
assertThat(timeGroupResults.getRangeSize().getUnit(), equalTo(TimeUnit.HOURS.toString()));
assertThat(timeGroupResults.getGroup().getGroupNumber(), equalTo(3));
}