I have a pretty huge project where I'm trying to make a game. My classes are:
- Game(main)
- Player
- Monster
- Battleground
- Item
- InputReader
- Utilities
There is a big chain of dependency, as some methods run others. The player class has methods like buyItem and SellItem, using Item objects from the class Item through a HashMap. Regardless, I am supposed to make a SetUp method in my unitTest class that makes objects for all the classes and puts Items into the players collection. I know how do to basic unit testing of individual methods, but I can't wrap my head around this. Please be nice, I know it might be obvious once I understand it.