@Test
void lessThan() {

    final MarketplaceFilterCondition condition = RevenueRateCondition.lessThan(Ratio.fromPercentage(1));
    final Wrapper<?> w = mock(Wrapper.class);
    when(w.getRevenueRate()).thenReturn(Ratio.ZERO);
    assertThat(condition).accepts(w);
    when(w.getRevenueRate()).thenReturn(Ratio.fromPercentage(2));
    assertThat(condition).rejects(w);
}