Exemplo n.º 1
0
        public void Verify_ObjectsAreNotEqual_ThrowException()
        {
            var constraint = new ObjectsAreEqual("test");

            Assert.Throws<AssertFailedException>(
                () => constraint.Verify("something else")
            );
        }
Exemplo n.º 2
0
        public void Verify_ObjectsAreEqual_DoesNotThrowException()
        {
            var constraint = new ObjectsAreEqual("test");

            constraint.Verify("test");
        }