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