assertThat(facet.entries().get(1).count(), equalTo(2l));
assertThat(facet.entries().get(1).total(), not(closeTo(0, 0.00001)));
assertThat(facet.entries().get(2).from(), closeTo(0.5, 0.000001));
assertThat(facet.entries().get(2).to(), closeTo(2.5, 0.000001));
assertThat(facet.entries().get(2).count(), equalTo(3l));
assertThat(facet.entries().get(2).total(), not(closeTo(0, 0.00001)));
assertThat(facet.entries().get(3).from(), closeTo(1, 0.000001));
assertThat(facet.entries().get(3).count(), equalTo(5l));
assertThat(facet.entries().get(3).total(), not(closeTo(0, 0.00001)));