@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (Objects.isNull(o) || getClass() != o.getClass()) {
            return false;
        }
        UpstreamInstance that = (UpstreamInstance) o;
        return port == that.port
                && healthy == that.healthy
                && enabled == that.enabled
                && Objects.equals(contextPath, that.contextPath)
                && Objects.equals(ip, that.ip)
                && Objects.equals(startupTime, that.startupTime);
    }
@Test
    public void testEquals() {
        assertEquals("ShenyuContextPath", upstreamInstance.getContextPath());
        assertEquals("0.0.0.0", upstreamInstance.getIp());
        assertEquals(9195, upstreamInstance.getPort());
        assertEquals(123L, upstreamInstance.getStartupTime());
        assertTrue(upstreamInstance.isEnabled());
        assertTrue(upstreamInstance.isHealthy());
    }