category.setName("Test Category");
category.setDescription("Test Description");
category.setOrganization(organization);
category.setStorageConfiguration(organization.getStorageConfigurations().get(0));
category.setIcon(icon);
CategoryModel categoryModel = categoryService.createCategoryModel(category, true);
assertTrue(categoryModel.getDescription().equals("Test Description"));
assertTrue(categoryModel.getName().equals("Test Category"));
assertTrue(categoryModel.getIcon() != null);
}