Assert.AreSame

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

Assert.AreSame tests that the two arguments reference the same object.

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

See also...