public async Task GetNotParticipantFbAsync_ShouldReturnNotParticipantFb_NotParticipantFbExists() { int id = 1; List <ParticipantFeedbackVM> feedbackVMs = new List <ParticipantFeedbackVM>(); ParticipantFeedbackVM feedback = new ParticipantFeedbackVM(); List <string> fbNames = new List <string>(); fbNames.Add("Incorrectly registered"); fbNames.Add("Unexpected"); feedback.Feedback = fbNames; feedbackVMs.Add(feedback); _feedbackRepository.Setup(x => x.GetNotParticipatedFeedbacksForEvent(id)).ReturnsAsync(feedbackVMs); IEnumerable <ParticipantFeedbackVM> result = await feedbackController.GetNotParticipatedFeedbacks(id); Assert.IsNotEmpty(result); }