@Test
public void testConvertRequestFilterOnMinMax() throws Exception {

  FactSearchCriteria criteria = converter.apply(new SearchObjectFactsRequest()
          .setMinimum(0.1f)
          .setMaximum(0.2f)
          .setDimension(Dimension.trust)
  );
  assertEquals(0.1f, (Float) criteria.getMinNumber(), 0.0);
  assertEquals(0.2f, (Float) criteria.getMaxNumber(), 0.0);
  assertEquals(SetUtils.set(FactSearchCriteria.NumberFieldStrategy.trust), criteria.getNumberFieldStrategy());
  assertEquals(FactSearchCriteria.MatchStrategy.any, criteria.getNumberMatchStrategy());
}