We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
#IsSame
Matches if two objects are the same (reference equals):
[Test] public void IsSame() { var firstBiscuit = new Biscuit("Garibaldi"); var secondBiscuit = firstBiscuit; var isSameAsFirstBiscuit = new IsSame(firstBiscuit); Assert.That(secondBiscuit, isSameAsFirstBiscuit); // or alternatively Assert.That(secondBiscuit, Is.SameAs(secondBiscuit)); }