July 2019
Intermediate to advanced
410 pages
10h 32m
English
The second issue was uncovered when the requirements were reviewed again, stating that the commands should not be case-sensitive:

With the test for UpdateInventoryCommand, InventoryCommandFactory was found to be case-sensitive using the following test:
[TestMethod]public void UpdateQuantityCommand_Successful(){ Assert.IsInstanceOfType(Factory.GetCommand("u"), typeof(UpdateQuantityCommand), "u should be UpdateQuantityCommand"); Assert.IsInstanceOfType(Factory.GetCommand("updatequantity"), typeof(UpdateQuantityCommand), "updatequantity should be UpdateQuantityCommand"); Assert.IsInstanceOfType(Factory.GetCommand("UpdaTEQuantity"), ...Read now
Unlock full access