Ejemplo n.º 1
0
 public void SendJobBaselines(SendManifestPackageDTO package)
 {
     var idsA = _ctSendService.SendBatchExtractsAsync(package, 200, new ArtMessageBag()).Result;
     var idsB = _ctSendService.SendBatchExtractsAsync(package, 200, new BaselineMessageBag()).Result;
     var idsC = _ctSendService.SendBatchExtractsAsync(package, 200, new StatusMessageBag()).Result;
     var idsD = _ctSendService.SendBatchExtractsAsync(package, 200, new AdverseEventsMessageBag()).Result;
 }
Ejemplo n.º 2
0
        public void should_Send_ART()
        {
            _sendService.Client = new HttpClient(_handlerMock.Object);
            var sendTo = new SendManifestPackageDTO(_registry);

            var responses = _sendService.SendBatchExtractsAsync(sendTo, 200, new ArtMessageBag()).Result;

            Assert.NotNull(responses);
            Assert.False(responses.Select(x => x.IsValid()).Any(x => false));
        }