@Test
void purchasingCompleted() {

    var participation = mock(ParticipationImpl.class);
    var e = EventFactory.purchasingCompleted(singleton(participation), mockPortfolioOverview());
    assertSoftly(softly -> {
        softly.assertThat(e.getParticipationsPurchased())
            .containsExactly(participation);
        softly.assertThat(e.getPortfolioOverview())
            .isNotNull();
    });
}