public void LoadAllUsers_ShouldGetAllUsers() { var userSeppe = new User(1, "Seppe"); var userJohan = new User(2, "Johan"); var userList = new List <User> { userSeppe, userJohan }; userService.GetAllUsers().Returns(userList); new UserController(userView, userAddView, userService).LoadAllUsers(); userView.Received().AddUser(userSeppe); userView.Received().AddUser(userJohan); }