@Deprecated
    public Map<String, Object> get() {
        return CLIENT_ATTACHMENT.get().get();
    }
@Test
    public void testClearAttachmentMap() {
        RpcServerContextAttachment attachment = new RpcServerContextAttachment();
        RpcServerContextAttachment.ObjectAttachmentMap objectAttachmentMap =
                new RpcServerContextAttachment.ObjectAttachmentMap(attachment);
        objectAttachmentMap.put("key_1", "value_1");
        objectAttachmentMap.put("key_2", "value_2");
        objectAttachmentMap.put("key_3", "value_3");
        Assertions.assertEquals(3, objectAttachmentMap.size());
        objectAttachmentMap.clear();
        Assertions.assertEquals(null, objectAttachmentMap.get(new Object()));
        Assertions.assertEquals(0, objectAttachmentMap.size());
        Assertions.assertEquals(true, objectAttachmentMap.isEmpty());
    }