assertThat(facet.entries().get(0).total(), not(closeTo(0, 0.00001)));
assertThat(facet.entries().get(1).from(), closeTo(0, 0.000001));
assertThat(facet.entries().get(1).to(), closeTo(1, 0.000001));
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)));