public void TestInspectStringMultipleRules_RedactedRule() { string testData = "name of patient: REDACTED"; var response = InspectStringMultipleRules.Inspect(Fixture.ProjectId, testData); Assert.False(response.Result.Findings.Any()); }
public void TestInspectStringMultipleRules_PatientRule() { string testData = "name of patient: Jane Doe"; var response = InspectStringMultipleRules.Inspect(Fixture.ProjectId, testData); Assert.Contains(response.Result.Findings, f => f.Likelihood == Likelihood.VeryLikely); }
public void TestInspectStringMultipleRules_DoctorRule() { string testData = "name of doctor: Jane Doe"; var response = InspectStringMultipleRules.Inspect(Fixture.ProjectId, testData); Assert.False(response.Result.Findings.Any()); }
public void TestInspectStringMultipleRules_QuasimodoRule() { string testData = "patient: Quasimodo"; var response = InspectStringMultipleRules.Inspect(Fixture.ProjectId, testData); Assert.False(response.Result.Findings.Any()); }