@Test public void testAddList() { final Structure listStructure = mock(Structure.class); final String listName = "fixed_list"; builder.addList(listName, listStructure, 2); validateFixedList(builder.build(), listName, 2); }
public abstract StructureBuilder addList(String name, Structure structure, int size);
StructureBuilder { public abstract StructureBuilder addList(String name, Structure structure, int size); }
StructureBuilder { public abstract StructureBuilder addList(String name, Structure structure, int size);  }
StructureBuilder { public abstract StructureBuilder addList(String name, Structure structure, int size);  static StructureBuilder getBuilder(); static StructureBuilder getBuilder(final Structure existingStructure); abstract Structure build(); abstract StructureBuilder addChar(String name, int length); abstract StructureBuilder addDQ8(String name); abstract StructureBuilder addDynamicList(String name, Structure structure); abstract StructureBuilder addF8(String name); abstract StructureBuilder addI2(String name); abstract StructureBuilder addI4(String name); abstract StructureBuilder addList(String name, Structure structure, int size); abstract StructureBuilder addRecord(String name, Structure structure); abstract StructureBuilder addStatusData(); abstract StructureBuilder addVC(String name); }
StructureBuilder { public abstract StructureBuilder addList(String name, Structure structure, int size);  static StructureBuilder getBuilder(); static StructureBuilder getBuilder(final Structure existingStructure); abstract Structure build(); abstract StructureBuilder addChar(String name, int length); abstract StructureBuilder addDQ8(String name); abstract StructureBuilder addDynamicList(String name, Structure structure); abstract StructureBuilder addF8(String name); abstract StructureBuilder addI2(String name); abstract StructureBuilder addI4(String name); abstract StructureBuilder addList(String name, Structure structure, int size); abstract StructureBuilder addRecord(String name, Structure structure); abstract StructureBuilder addStatusData(); abstract StructureBuilder addVC(String name);  }