@Test
    public void missingField() throws Exception
    {
        byte[] message = MsgpackIOUtil.toByteArray(fixture, SCHEMA, numeric);

        TestMessageExtended instance = EXTENDED_SCHEMA.newMessage();

        // missing field3
        MsgpackIOUtil.mergeFrom(message, instance, EXTENDED_SCHEMA, numeric);

        Assert.assertEquals(fixtureExtended.field1, instance.field1);
        Assert.assertEquals(fixtureExtended.field2, instance.field2);
        Assert.assertNull(instance.field3);

    }
Test for ignoring unknown fields during de-seralization
protostuff-msgpack/src/test/java/io/protostuff/MsgpackUnknownFieldTest.java