}
public void testTextAsBinary() throws Exception
{
TextNode n = new TextNode(" APs=\n");
JsonParser jp = n.traverse();
assertNull(jp.getCurrentToken());
assertToken(JsonToken.VALUE_STRING, jp.nextToken());
byte[] data = jp.getBinaryValue();
assertNotNull(data);
assertArrayEquals(new byte[] { 0, -5 }, data);