@Test
void enabled() {

    final Zonky z = harmlessZonky();
    final Reservation simple = new MockReservationBuilder()
        .set(ReservationImpl::setMyReservation, mockMyReservation())
        .build();
    final Loan fresh = MockLoanBuilder.fresh();
    when(z.getLoan(eq(simple.getId()))).thenReturn(fresh);
    when(z.getReservationPreferences()).thenReturn(new ReservationPreferencesImpl(SOME_PREFERENCE));
    when(z.getPendingReservations()).thenReturn(Stream.of(simple));
    final Tenant t = mockTenant(z, false);
    when(t.getReservationStrategy()).thenReturn(Optional.of(ALL_ACCEPTING_STRATEGY));
    final TenantPayload p = new ReservationsProcessing();
    p.accept(t);
    verify(z).accept(eq(simple));
    assertThat(getEventsRequested()).hasSize(4);
}