Skip to content

Instantly share code, notes, and snippets.

Created Aug 3, 2017
What would you like to do?
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