@Test
void listeners() {

    assertEquals(0, instance.listeners().count());
    instance.addListener(loggerEventListener);
    assertEquals(loggerEventListener, instance.listeners().findFirst().orElseThrow(NoSuchElementException::new));
}