-
-
Save HamidMosalla/1604e35c02a44b871a284552663f377a 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] | |
public void VerifyPropertyIsSet_WithSpecificValue_WithVerifySet() | |
{ | |
var mock = new Mock<IPropertyManager>(); | |
var nameUser = new PropertyManagerConsumer(mock.Object); | |
nameUser.ChangeName("No Shrubbery!"); | |
mock.VerifySet(m => m.FirstName = "No Shrubbery!"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment