@Test
void withReservedPath() {

    assertThatThrownBy(() -> config.listen(HTTPIOHandler.HEALTH_CHECK_PATH, TestWebSocketMessage.class, TestWebSocketMessage.class, new TestChannelListener()))
            .isInstanceOf(Error.class)
            .hasMessageContaining("/health-check is reserved path");
}