Пример #1
0
 public Label createLabel() {
   Label label = new Label();
   label.operationType = OperationType.expense;
   label.name = "Test label";
   Set<Category> categories = new HashSet<>();
   categories.add(persistCategory());
   label.categories = categories;
   return label;
 }