public async void Can_check_identity(string applicantName, IdentityCheckResult expectedResult) { // Arrange var loanApplication = new LoanApplication { ApplicantName = applicantName }; var sut = new IdentityService(); // Act var actualResult = await sut.CheckIdentity(loanApplication); // Assert Assert.Equal(expectedResult, actualResult); }