ASP.Net MVC Moq SetupGet
- by Nicholas Murray
Hi, I am starting out with TDD using Moq to Mock an interface that I have:
public interface IDataService
{
void Commit();
TopListService TopLists { get; }
}
From the samples I have seen I would expect SetupGet (or Setup) to appear in the intellisense when I type
var mockDataService = new Mock<IDataService>();
mockDataService.
But it is missing. Could someone suggest why?