public void MatchSnapshot_PlainExtension_CorrectSnapshot() { // arrange TestPerson testPerson = TestDataBuilder.TestPersonMarkWalton().Build(); // act & assert testPerson.MatchSnapshot(); }
public void MatchSnapshot_Null_Throws() { // arrange TestPerson testPerson = null; // act & assert Assert.Throws <ArgumentNullException>(() => testPerson.MatchSnapshot()); }