    @Test
    public void testNewMessage() {

        SnapshotMeta meta = SnapshotMeta.newBuilder().setLastIncludedIndex(99).setLastIncludedTerm(1).build();
        SnapshotMeta pMeta = ProtobufMsgFactory.newMessageByProtoClassName("jraft.SnapshotMeta", meta.toByteArray());
        assertNotNull(pMeta);
        assertNotSame(pMeta, meta);
        assertEquals(pMeta, meta);
    }