AN0005: Add assertion in test Property Value Id AN0005 Category Usage Default Severity Warning Example Code with Diagnostic [TestMethod] public void TestMethodName() { int k = 1 + 2; } Code with Fix [TestMethod] public void TestMethodName() { int k = 1 + 2; k.Should().Be(3); }