@Test
void purchasingNoneAccepted() {

    final Zonky zonky = harmlessZonky();
    final Loan loan = new MockLoanBuilder()
        .set(LoanImpl::setAmount, Money.from(200))
        .build();
    when(zonky.getLoan(eq(loan.getId()))).thenReturn(loan);
    final Participation mock = mock(ParticipationImpl.class);
    when(mock.getRemainingPrincipal()).thenReturn(Money.from(250));
    final ParticipationDescriptor pd = new ParticipationDescriptor(mock, () -> loan);
    final PowerTenant tenant = mockTenant(zonky);
    when(tenant.getPurchaseStrategy()).thenReturn(Optional.of(NONE_ACCEPTING_PURCHASE_STRATEGY));
    final PurchasingOperationDescriptor d = mockPurchasingOperationDescriptor(pd);
    final StrategyExecutor<ParticipationDescriptor, PurchaseStrategy, Participation> exec = new StrategyExecutor<>(
            tenant, d);
    assertThat(exec.get()).isEmpty();
    final List<Event> e = getEventsRequested();
    assertThat(e).hasSize(2);
    assertSoftly(softly -> {
        softly.assertThat(e)
            .first()
            .isInstanceOf(PurchasingStartedEvent.class);
        softly.assertThat(e)
            .last()
            .isInstanceOf(PurchasingCompletedEvent.class);
    });
}