Ejemplo n.º 1
0
        public void ProcceedBackgroundCheck_SSNAssign_Success(string ssnNumber)
        {
            var ssnExpected = SSN.FromString(ssnNumber);
            var model       = new CheckRequest
            {
                FirstName   = "Yevhen",
                LastName    = "Skrypnyk",
                DateOfBirth = new DateTime(2002, 10, 10),
                SSN         = ssnNumber
            };

            var result = _service.ProcceedBackgroundCheck(model);

            Assert.NotNull(result);
            Assert.AreEqual(ssnExpected, result.SSN);
        }
Ejemplo n.º 2
0
 public CheckResponse Post(CheckRequest model)
 {
     return(_service
            .ProcceedBackgroundCheck(model)
            .ToCheckResponse());
 }