ASP & ASP.NET Tutorial Series (228/247). Prefer one article? Read the complete ASP.NET tutorial.
Short description
Don�t mock what you don�t own when integration tests fit better.
Moq tip
var mock = new Mock<IItemService>();
mock.Setup(s => s.ListAsync()).ReturnsAsync(items);