public void testBinaryPojo() throws Exception
{
byte[] inputBinary = new byte[] { 1, 2, 100 };
POJONode n = new POJONode(inputBinary);
JsonParser jp = n.traverse();
assertNull(jp.getCurrentToken());
assertToken(JsonToken.VALUE_EMBEDDED_OBJECT, jp.nextToken());
byte[] data = jp.getBinaryValue();
assertNotNull(data);