@Test
void exact() {

    final MarketplaceFilterCondition condition = LoanInterestRateCondition.exact(Ratio.ZERO,
            Ratio.fromPercentage(1));
    final Wrapper<?> w = mock(Wrapper.class);
    when(w.getInterestRate()).thenReturn(Ratio.ZERO);
    assertThat(condition).accepts(w);
    when(w.getInterestRate()).thenReturn(Ratio.fromPercentage(1));
    assertThat(condition).accepts(w);
    when(w.getInterestRate()).thenReturn(Ratio.ONE);
    assertThat(condition).rejects(w);
}