@Test
void investmentSold() {

    final InvestmentSoldEvent e = EventFactory.investmentSold(MockInvestmentBuilder.fresh()
        .build(), MockLoanBuilder.fresh(), mockPortfolioOverview());
    assertSoftly(softly -> {
        softly.assertThat(e.getLoan())
            .isNotNull();
        softly.assertThat(e.getInvestment())
            .isNotNull();
        softly.assertThat(e.getPortfolioOverview())
            .isNotNull();
    });
}