I've inherited some unit test code which is giving me a deprecation warning because it uses "Assertion.AssertEquals":
warning CS0618: 'NUnit.Framework.Assertion' is obsolete: 'Use Assert class instead'
However, I can't see the obvious method in the Assert class that I should be using instead?
AssertEquals takes two objects and a message that can be used to report the error if there's a failure. e.g.
Assertion.AssertEquals(
"Enqueuing first item should set count to 1",
1, pq.Count);
What's the equivalent method on the Assert class?