public static DubboUpstream buildDefaultDubboUpstream(final String host, final Integer port) {
        return DubboUpstream.builder().upstreamHost(LOCALHOST)
                .protocol("dubbo://").upstreamUrl(buildUrl(host, port))
                .weight(DEFAULT_WEIGHT).warmup(Constants.WARMUP_TIME)
                .timestamp(System.currentTimeMillis())
                .status(Objects.nonNull(port) && StringUtils.isNotBlank(host))
                .build();
    }
@Test
    public void buildDefaultDubboUpstream() {
        DubboUpstream dubboUpstream = CommonUpstreamUtils.buildDefaultDubboUpstream(HOST, PORT);
        Assert.assertNotNull(dubboUpstream);
        Assert.assertEquals(HOST + ":" + PORT, dubboUpstream.getUpstreamUrl());
        Assert.assertEquals("dubbo://", dubboUpstream.getProtocol());
    }