public void ShouldBuildWithManualCheckFallback() { RequestedFaceMatchCheck check = new RequestedFaceMatchCheckBuilder() .WithManualCheckFallback() .Build(); Assert.AreEqual("FALLBACK", check.Config.ManualCheck); }
public void ShouldBuildWithManualCheckNever() { RequestedFaceMatchCheck check = new RequestedFaceMatchCheckBuilder() .WithManualCheckNever() .Build(); Assert.AreEqual("NEVER", check.Config.ManualCheck); }
public void ShouldBuildWithManualCheckAlways() { RequestedFaceMatchCheck check = new RequestedFaceMatchCheckBuilder() .WithManualCheckAlways() .Build(); Assert.AreEqual(DocScanConstants.IdDocumentFaceMatch, check.Type); Assert.AreEqual("ALWAYS", check.Config.ManualCheck); }