@Test
void identifiesEventTypeWhenClass() {

    Loan l = MockLoanBuilder.fresh();
    Investment i = MockInvestmentBuilder.fresh(l, 200)
        .build();
    final LoanDelinquent90DaysOrMoreEvent e = EventFactory.loanDelinquent90plus(i, l);
    assertThat(SessionEvents.getImplementingEvent(e.getClass()))
        .isEqualTo(LoanDelinquent90DaysOrMoreEvent.class);
}