@Override
    public boolean isExpire(long currentTime) {
        return !isNative() && currentTime - getLastRenewTime() > ClientConfig.getInstance().getClientExpiredTime();
    }
@Test
    void testIsExpire() {
        connectionBasedClient.setLastRenewTime();
        long mustExpireTime = connectionBasedClient.getLastRenewTime() + 2 * ClientConfig.getInstance().getClientExpiredTime();
        assertTrue(connectionBasedClient.isExpire(mustExpireTime));
    }