protected static ConsulClient client() {
        if (consulClient == null) {
            throw new IllegalStateException("consul client has not initialized");
        }
        return consulClient;
    }
A helper class for testing with Consul.
consul/src/test/java/com/linecorp/armeria/internal/consul/ConsulTestBase.java