assertEquals(5, count(Label.class.getName(), elements));
ImportUtils.doImport(null, elements, false);
for (IEntity entity : elements) {
ILabel label = (ILabel) entity;
if ("Later".equals(label.getName()))
assertEquals(0, label.getOrder());
else if ("Personal".equals(label.getName()))
assertEquals(1, label.getOrder());
else if ("Important".equals(label.getName()))
assertEquals(2, label.getOrder());
else if ("Work".equals(label.getName()))
assertEquals(3, label.getOrder());
else if ("To Do".equals(label.getName()))
assertEquals(4, label.getOrder());
}
}