<p>These methods test whether the same objects are referenced by the two arguments.</p>

<div class="code" style="width: 36em" >
<pre class="prettyprint">Assert.AreSame( object expected, object actual );
Assert.AreSame( object expected, object actual, string message );
Assert.AreSame( object expected, object actual, string message,
                object[] parms );

Assert.AreNotSame( object expected, object actual );
Assert.AreNotSame( object expected, object actual, string message );
Assert.AreNotSame( ob