Analyzer suggested fix is not valid
Steps To Reproduce
- Open attached solution
- Build solution
- Check the Error List and you will find a "Use 'Assert.HasCount' instead of 'Assert.AreEqual' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)"
However HasCount don't support 2 IEnumables and the Assert.Equal seems to be the correct way of solving this
Expected behavior
Don't suggest moving to Assert.HasCount, but skip the warning
TestHasCountIssue.zip