@Test
public void testParseFrom3() throws IOException {

    Echo.EchoRequest request = Echo.EchoRequest.newBuilder().setMessage("hello").build();
    byte[] bytes = request.toByteArray();
    ByteBuf buf = Unpooled.wrappedBuffer(bytes);
    Message defaultInstance = request.getDefaultInstanceForType();
    Echo.EchoRequest request1 = (Echo.EchoRequest) ProtobufUtils.parseFrom(buf, defaultInstance);
    Assert.assertTrue(request1.getMessage().equals(request.getMessage()));
}