Code Inspection: NUnit. Redundant expected result
A unit test with the void return type and some
ExpectedResult in the TestCase attribute may be a sign of one of the following problems:
ExpectedResultis there by mistake, in which case you should simply remove it.
The test was originally designed to return a result, in which case you need to rewrite the test method.
Expected result and its value is written instead of a data value for the test method parameter (e.g.
[TestCase(ExpectedResult = 100)]). In this case, you need to remove the
ExpectedResultargument name and only leave the value