@Test
void exact() {

    final MarketplaceFilterCondition condition = LoanAnnuityCondition.exact(0, 1);
    final Wrapper<?> w = mock(Wrapper.class);
    when(w.getOriginalAnnuity()).thenReturn(0);
    assertThat(condition).accepts(w);
    when(w.getOriginalAnnuity()).thenReturn(1);
    assertThat(condition).accepts(w);
    when(w.getOriginalAnnuity()).thenReturn(2);
    assertThat(condition).rejects(w);
}