Skip to content
Snippets Groups Projects

PurchasesArchiveTest and ItemPurchaseArchiveEntry tests

Closed Tomáš Klíma requested to merge klimato2/eShop:master into master
Files
3
@@ -34,10 +34,7 @@ public class PurchasesArchive {
}
return 0;
}
public void putOrderToPurchasesArchive(Order order) {
orderArchive.add(order);
ArrayList<Item> orderItems = order.getItems();
@@ -50,6 +47,13 @@ public class PurchasesArchive {
}
}
}
public HashMap<Integer, ItemPurchaseArchiveEntry> getItemPurchaseArchive() {
return itemPurchaseArchive;
}
public ArrayList<Order> getOrderArchive() {
return orderArchive;
}
}