@Test
public void testCompile_FixedStructArray() throws Exception {

  final JBBPCompiledBlock compiled = JBBPCompiler.compile("int value; inner [2] { byte a; byte b;}");
  assertArrayEquals(new byte[] {
      JBBPCompiler.CODE_INT | JBBPCompiler.FLAG_NAMED,
      JBBPCompiler.CODE_STRUCT_START | JBBPCompiler.FLAG_NAMED | JBBPCompiler.FLAG_ARRAY,
      2,
      JBBPCompiler.CODE_BYTE | JBBPCompiler.FLAG_NAMED,
      JBBPCompiler.CODE_BYTE | JBBPCompiler.FLAG_NAMED,
      JBBPCompiler.CODE_STRUCT_END,
      1
  }, compiled.getCompiledData());
}