Created
December 23, 2018 22:11
-
-
Save avegaraju/d8c27b1a3b8ef64cb5549e89115e5fca to your computer and use it in GitHub Desktop.
This file contains 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
[<Fact>] | |
let ``find_WhenProductDoesNotExists_ReturnsNone`` () = | |
let productId = Fixture().Create<int>(); | |
let products = Fixture().CreateMany<Product>() | |
let result = UpdateProductDimensions.find (productId, products) | |
result.IsNone.Should().BeTrue("the product id does not exist") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment