public AbstractCardCollection(int maximumAmountOfCardsInCollection) {
        if (maximumAmountOfCardsInCollection <= 0) {
            throw new IllegalArgumentException("Maximum amount of cards in collection must be positive");
        }
        this.cards = new HashSet<Card>();
        this.maximumAmountOfCardsInCollection = maximumAmountOfCardsInCollection;
    }