@Test
void lessThan() {

    final MarketplaceFilterCondition condition = RelativeLoanTermCondition.lessThan(Ratio.fromPercentage(10));
    final Wrapper<?> w = mock(Wrapper.class);
    when(w.getOriginalTermInMonths()).thenReturn(10);
    when(w.getRemainingTermInMonths()).thenReturn(0);
    assertThat(condition).accepts(w);
    when(w.getRemainingTermInMonths()).thenReturn(1);
    assertThat(condition).rejects(w);
}