public async Task Delete_incorrect_input_returns_false_Integration() { var logic = new StudyLogic(_repo); var response = await logic.Delete(_studyDTO.Id); Assert.False(response); }
public async Task Delete_incorrect_input_returns_false() { _mock.Setup(m => m.DeleteAsync(It.IsAny <int>())).ReturnsAsync(0); var logic = new StudyLogic(_mock.Object); var response = await logic.Delete(_studyDTO.Id); Assert.False(response); }