@Test
void investmentMade() {

    final InvestmentMadeEvent e = EventFactory.investmentMade(MockLoanBuilder.fresh(), Money.from(200),
            mockPortfolioOverview());
    assertSoftly(softly -> {
        softly.assertThat(e.getLoan())
            .isNotNull();
        softly.assertThat(e.getInvestedAmount())
            .isEqualTo(Money.from(200));
        softly.assertThat(e.getPortfolioOverview())
            .isNotNull();
    });
}