CookingComponenttests - UQcsse3200/2024-studio-3 GitHub Wiki
CookingComponentTest
Purpose
Ensure that items can be added and removed from the station. Additionally that the cooking time of an item in a station is constantly updating and the station has correct type.
Setup
Station is initialised, mock objects are created which spy on the instance of the stationinventorycomponent, stationitemhandler and cooking component.
Expected Outcome
Verifies that CookingComponent successfully interacts with the other components 'StationInventoryComponent' and 'StationItemHandlerComponent'.