@Test
void doesNotInvestWhenDisabled() {

    final Zonky zonky = harmlessZonky();
    final PowerTenant tenant = mockTenant(zonky);
    final OperationDescriptor<LoanDescriptor, InvestmentStrategy, Loan> d = mock(OperationDescriptor.class);
    when(d.getLogger()).thenReturn(LogManager.getLogger());
    when(d.isEnabled(any())).thenReturn(false);
    final StrategyExecutor<LoanDescriptor, InvestmentStrategy, Loan> e = new StrategyExecutor<>(tenant, d);
    assertThat(e.get()).isEmpty();
    final List<Event> evt = getEventsRequested();
    assertThat(evt).isEmpty();
}