Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
[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