public void ScopeTypeController_GetScopeTypes_Returns_Empty_List_Of_ScopeTypes_If_No_ScopeTypes() { // Arrange var mockDataService = new Mock <IDataService>(); mockDataService.Setup(ds => ds.GetScopeTypes()).Returns(MockHelper.CreateEmptyScopeTypeReader()); var scopeTypeController = new ScopeTypeController(mockDataService.Object); // Act var scopeTypes = scopeTypeController.GetScopeTypes(); // Assert Assert.IsNotNull(scopeTypes); Assert.AreEqual(0, scopeTypes.Count()); }