O'Reilly logo
  • Przemyslaw Lagodzinski thinks this is interesting:

Assert.Equal(0, target.Lines.Count())

From

Cover of Pro ASP.NET Core MVC 2

Note

As in the previous test: Assert.Empty(target.Lines); ?