public async Task DeleteFeedback_ShouldDeleteFeedback_FeedbackExists() { int id = 2; _feedbackRepository.Setup(x => x.DeleteFeedbackQuestionById(id)).ReturnsAsync(true); ActionResult result = await feedbackController.Delete(id); Assert.That(result, Is.InstanceOf <OkResult>()); }