    @Test
    public void testSubscribeAndPublishWithListenerMethodsAndTooManyParameters() {

        assertThrows(IllegalArgumentException.class, () -> sessionEventBus.subscribe(new InvalidListener2()));
    }