Assert.AreNotSame

Chris edited this page Sep 5, 2016 · 2 revisions
Clone this wiki locally

Assert.AreNotSame tests that the two arguments do not reference the same object.

Assert.AreNotSame( object expected, object actual );
Assert.AreNotSame( object expected, object actual, 
                   string message, params object[] parms );

See also...