2011-nov02-net / 2011-nov02-net/danielp-project0
Location Add Inventory Tests
Ouverte
- Langage dominant
- C#
- Étoiles
- 0
- Forks
- 0
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Check that adding inventory to a location works, and adds the appropriate amount, in the MyStore.Store.Tests LocationTests.cs file,
Testing the MyStore.Store Location AddInventory method.
Specifically,
- can't add a negative amount of stock, should throw ArgumentOutOfRangeException
- Can't add stock to an item that doesn't exist in the model, should throw ItemNotFoundException,
- can add stock to an item that the location already has some stock of, and doesn't have stock of.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.