public async Task ProjectService_DeleteProject_Failed() { // arrange var request = GetProjectDeleteRequest(); MockOrganizationRepository.Setup_Any_Returns_False(); MockProjectRepository.Setup_Delete_Failed(); // act var result = await SystemUnderTest.DeleteProject(request); // assert result.ErrorMessages.ShouldNotBeNull(); result.Status.ShouldBe(ResponseStatus.Failed); AssertReturnType <ProjectDeleteResponse>(result); MockOrganizationRepository.Verify_Any(); MockProjectRepository.Verify_Delete(); }