July 2019
Intermediate to advanced
410 pages
10h 32m
English
The first issue was what to do when a command is received that does not match any of the defined InventoryCommand inputs. After reviewing the requirements, the team noticed they missed this requirement, as shown in the following screenshot:

The team decided to introduce a new InventoryCommand class, UnknownCommand, to handle this situation. The UnknownCommand class should print a warning message to the console (via the IUserInterface WriteWarning method), should not cause the application to end, and should return false to indicate that the command was not run successfully. The implementation details are shown in ...
Read now
Unlock full access