@Override
  public void onEvent(Event e) {
    LOGGER.info("Received event from the King's Hand: {}", e.toString());
  }
@Test
  void testOnEvent() {
    final var kingJoffrey = new KingJoffrey();

    IntStream.range(0, Event.values().length).forEach(i -> {
      assertEquals(i, appender.getLogSize());
      var event = Event.values()[i];
      kingJoffrey.onEvent(event);
      final var expectedMessage = "Received event from the King's Hand: " + event;
      assertEquals(expectedMessage, appender.getLastMessage());
      assertEquals(i + 1, appender.getLogSize());
    });

  }