@Test
void executionCompleted() {

    Loan loan = MockLoanBuilder.fresh();
    var e = EventFactory.executionCompleted(singleton(loan), mockPortfolioOverview());
    assertSoftly(softly -> {
        softly.assertThat(e.getLoansInvestedInto())
            .containsExactly(loan);
        softly.assertThat(e.getPortfolioOverview())
            .isNotNull();
        softly.assertThat(e.getCreatedOn())
            .isBeforeOrEqualTo(OffsetDateTime.now());
        softly.assertThat(e.toString())
            .isNotEmpty();
    });
}