@Test
    public void testJudgeProtoInterface() {
        EchoStrRes res = EchoStrRes.newBuilder().setS("xxxx").build();
        boolean find = protobufHelper.isProtoBufMessageObject(res);
        Assert.assertTrue(find);

        find = protobufHelper.isProtoBufMessageObject(null);
        Assert.assertFalse(find);

        find = protobufHelper.isProtoBufMessageObject(new Object());
        Assert.assertFalse(find);

        find = protobufHelper.isProtoBufMessageClass(null);
        Assert.assertFalse(find);

        find = protobufHelper.isProtoBufMessageClass(EchoStrRes.class);
        Assert.assertTrue(find);

        find = protobufHelper.isProtoBufMessageClass(EchoStrRes.Builder.class);
        Assert.assertFalse(find);
    }
@author <a href="mailto:zhanggeng.zg@antfin.com">GengZhang</a>
codec/codec-protobuf/src/test/java/com/alipay/sofa/rpc/codec/protobuf/ProtobufHelperTest.java