2011-nov02-net / 2011-nov02-net/danielp-project0

Location Add Inventory Tests

Ouverte
#2 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
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.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.