Ejemplo n.º 1
0
 public void SetUp()
 {
     _fakeAmazonSqs            = new Mock <IAmazonSQS>();
     _simpleAmazonQueueService = new SimpleAmazonQueueService <int>(
         configuration: new CustomConfiguration {
         SecretKey = "FakeSecretKey", AccessKey = "FakeAccessKey", QueueUrl = "http://queueurl.aws.com"
     },
         amazonSqsClient: _fakeAmazonSqs.Object,
         converterFactory: new ConverterFactory <int>()
         );
 }
 public void SetUp()
 {
     _fakeAmazonSqs = new Mock<IAmazonSQS>();
     _simpleAmazonQueueService = new SimpleAmazonQueueService<int>(
         configuration: new CustomConfiguration { SecretKey = "FakeSecretKey", AccessKey = "FakeAccessKey", QueueUrl = "http://queueurl.aws.com" },
         amazonSqsClient: _fakeAmazonSqs.Object,
         converterFactory: new ConverterFactory<int>()
     );
 }