public void TestService()
 {
     searchRequest = new SearchRequest();
     searchRequest.Pan = 5112345678901234;
     searchRequest.AuditInfo.UserId = "testUser";
     searchRequest.AuditInfo.UserName = "******";
     searchRequest.AuditInfo.Organization = "Test Org";
     response = service.GetSearchResponse(searchRequest);
     Assert.IsNotNull(response.PANDetails);
     Assert.IsNotNull(response.Response);
 }
 public void TestService()
 {
     searchRequest = new SearchRequest();
     searchRequest.Pan = 5112345678901234;
     searchRequest.AuditInfo.UserId = "testUser";
     searchRequest.AuditInfo.UserName = "******";
     searchRequest.AuditInfo.Organization = "Test Org";
     response = mappingSearchService.GetSearchResponse(searchRequest);
     string tokenUniqueId = response.Devices.ElementAt(0).TokenUniqueId;
     deliveryChannels = deliveryChannelsService.GetDeliveryChannels(tokenUniqueId);
     Assert.IsNotNull(deliveryChannels.DeliveryChannel);
 }
 public void TestService()
 {
     searchRequest = new SearchRequest();
     searchRequest.Pan = 5112345678901234;
     searchRequest.AuditInfo.UserId = "testUser";
     searchRequest.AuditInfo.UserName = "******";
     searchRequest.AuditInfo.Organization = "Test Org";
     response = mappingSearchService.GetSearchResponse(searchRequest);
     String tokenUniqueId = response.Devices.ElementAt(0).TokenUniqueId;
     deliveryChannels = deliveryChannelsService.GetDeliveryChannels(tokenUniqueId);
     long deliveryChannelId = deliveryChannels.DeliveryChannel.ElementAt(0).Id;
     resendRequest = new ResendRequest();
     resendRequest.DeliveryChannelId = deliveryChannelId;
     resendRequest.AuditInfo.UserId = "testUser";
     resendRequest.AuditInfo.UserName = "******";
     resendRequest.AuditInfo.Organization = "Test Org";
     resendCodeResults = resendActivationCodeService.GetResendCodeResults(resendRequest, tokenUniqueId);
     Assert.IsNotNull(resendCodeResults.ResponseCode);
 }