CookingComponenttest - UQcsse3200/2024-studio-3 GitHub Wiki
CookingComponent test plan
Purpose
Ensure that an item can be added and removed from a station. As well as updating the cooking time of the item constantly using the GameTime.
Setup
Create mock objects for GameTime and spying on the initialised instances of StationInventoryComponent, StationItemHandlerComponent and CookingComponent.
Expected Outcome
Verifies that CookingComponent successfully interacts with the components 'StationInventoryComponent' and 'StationItemHandlerComponent'