ModelDeclaration model = load("basic_type.dmdl", "simple");
for (WorkbookFormat format : WorkbookFormat.values()) {
File dir = folder.newFolder(format.name());
WorkbookGenerator generator = new WorkbookGenerator(dir, format);
generator.generate(model);
Workbook workbook = open(dir, model, format);
for (SheetFormat sheetForm : format.getSheets()) {
Sheet sheet = workbook.getSheet(sheetForm.getName());
if (sheetForm.getKind() == Kind.DATA) {
checkDataSheet(sheet, model);
} else {
checkRuleSheet(sheet, model);
}