@Override
    protected void close() {
        // Turn off nacos heartbeat transmission
        ReflectUtils.invokeMethod(target, "shutdown", null, null);
        LOGGER.warning("Nacos heartbeat has been closed by user.");
    }
@Test
    public void close() throws NoSuchMethodException {
        final NacosRpcClientHealthInterceptor interceptor = new NacosRpcClientHealthInterceptor();
        final RpcClient rpcClient = Mockito.mock(RpcClient.class);
        interceptor.doBefore(buildContext(rpcClient));
        interceptor.close();
        Mockito.verify(rpcClient, Mockito.times(1)).shutdown();
    }