@Test
void exact() {

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