@Test
void lessThan() {

    final RangeCondition<Integer> c = RangeCondition.lessThan(Wrapper::getOriginalTermInMonths,
            new Domain<>(Integer.class, 0, null), 5);
    final Wrapper<?> w = mock(Wrapper.class);
    when(w.getOriginalTermInMonths()).thenReturn(5);
    assertThat(c).rejects(w);
    when(w.getOriginalTermInMonths()).thenReturn(4);
    assertThat(c).accepts(w);
}