Created
September 15, 2014 22:39
-
-
Save derekgreer/0242f925fcfcd94bcb23 to your computer and use it in GitHub Desktop.
Configuring ExpectedObject to match on a value you don't have at context setup time
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
_expectedPaymentAccountingTransaction = new | |
{ | |
Amount = Expect.Any<decimal>(amount => amount == _paymentEvent.Amount) | |
}.ToExpectedObject(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment