@Test
void routeWithReservedPath() {

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