Binary blob = ExternalizableHelper.toBinary(new TypeA(), ctx);
PofValue root = PofValueParser.parse(blob, ctx);
Assert.assertTrue(root instanceof ComplexPofValue);
ComplexPofValue cf = (ComplexPofValue) root;
@SuppressWarnings("unused")
PofValue p0 = cf.getChild(0);
PofValue p1 = cf.getChild(1);
PofValue p2 = cf.getChild(2);
PofValue p3 = cf.getChild(3);
PofValue p4 = cf.getChild(4);
PofValue p5 = cf.getChild(5);
PofValue p6 = cf.getChild(6);
@SuppressWarnings("unused")
PofValue p7 = cf.getChild(6);
Assert.assertEquals("ABC", p1.getValue(String.class));
Assert.assertEquals("", p2.getValue(String.class));
Assert.assertEquals(null, p3.getValue(String.class));
Assert.assertEquals(10, p4.getValue(Integer.class));