@Test
public void testCompile_ArrayWithUndefinedLength() throws Exception {

  final JBBPCompiledBlock compiled = JBBPCompiler.compile("byte [_] HeLLo;");
  final JBBPNamedFieldInfo field = compiled.findFieldForPath("hello");
  assertEquals(2, compiled.getCompiledData().length);
  assertNotNull(field);
  assertEquals(0, field.getFieldOffsetInCompiledBlock());
  assertEquals(JBBPCompiler.CODE_BYTE | JBBPCompiler.FLAG_NAMED | JBBPCompiler.FLAG_WIDE, compiled.getCompiledData()[0] & 0xFF);
  assertEquals(JBBPCompiler.EXT_FLAG_EXPRESSION_OR_WHOLESTREAM, compiled.getCompiledData()[1] & 0xFF);
}