Exemplo n.º 1
0
        public void MatchSnapshot_PlainExtension_CorrectSnapshot()
        {
            // arrange
            TestPerson testPerson = TestDataBuilder.TestPersonMarkWalton().Build();

            // act & assert
            testPerson.MatchSnapshot();
        }
Exemplo n.º 2
0
        public void MatchSnapshot_Null_Throws()
        {
            // arrange
            TestPerson testPerson = null;

            // act & assert
            Assert.Throws <ArgumentNullException>(() => testPerson.MatchSnapshot());
        }