Reference element = (Reference) layoutElements.get(0);
assertEquals(layoutStr, element.getTag());
}
public void testUnionLayout() throws IOException {
CPUTF8 name = new CPUTF8("TestAttribute");
CPUTF8 layout = new CPUTF8("TB(55)[FH](23)[]()[RSH]");
MockNewAttributeBands newAttributeBands = new MockNewAttributeBands(1,
null, null, new AttributeDefinition(35,
AttributeDefinitionBands.CONTEXT_CLASS, name, layout));
List layoutElements = newAttributeBands.getLayoutElements();
assertEquals(1, layoutElements.size());