@Test
public void testCompile_ErrorForNonClosedStructure() throws Exception {

  try {
    JBBPCompiler.compile("{byte; int; ");
    fail("Must throw IAE");
  } catch (JBBPCompilationException ex) {
    assertNull(ex.getToken());
  }
}