Created
November 2, 2017 10:08
-
-
Save Hameds/8d55d500554ab110a4355b6b617db51c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Test] | |
| [ExpectedException(typeof(InvalidOrderException))] | |
| public void WhenAUserAttemptsToOrderAnItemWithAQuantityOfZeroThrowInvalidOrderException() | |
| { | |
| //Arrange | |
| //Act | |
| orderService.PlaceOrder(customerId, shoppingCart); | |
| //Assert | |
| Mock.Assert(orderDataService); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment