public void TestInteractorGetAllIdList() { List <int> idList = new List <int>(); _modelCreatorMock.Setup(f => f.GetAllIdList()) .Returns(idList); _interactor.GetAllIdList(); _modelCreatorMock.Verify(f => f.GetAllIdList(), Times.Once); }
public List <int> GetAllIdList() { var idList = _interactor.GetAllIdList(); return(idList); }