You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
grahamrhay edited this page Nov 10, 2010
·
1 revision
#IsAnything
Matches anything:
[Test]publicvoidAllOf(){varmatchesAnything=newIsAnything<object>();conststringactual="the cat sat on the mat";
Assert.That(actual, matchesAnything);// or alternatively
Assert.That(actual, Is.Anything());}