assertThat(facet.entries().get(0).from(), closeTo(0, 0.000001));
assertThat(facet.entries().get(0).to(), closeTo(2, 0.000001));
assertThat(facet.entries().get(0).count(), equalTo(2l));
assertThat(facet.entries().get(1).from(), closeTo(2, 0.000001));
assertThat(facet.entries().get(1).to(), closeTo(10, 0.000001));
assertThat(facet.entries().get(1).count(), equalTo(1l));
}
}