public BatchWriterTestDescriptor(Settings settings, WriterInvocations[] invocations, Dictionary<string, string> expectedHeaders = null, Uri baseUri = null)
 {
     this.TestDescriptorSettings = settings;
     this.invocationsAndOperationDescriptors = invocations.Select(i => new InvocationAndOperationDescriptor { Invocation = i, OperationDescriptor = null }).ToArray();
     this.expectedResultCallback = CreateExpectedResultCallback(this.invocationsAndOperationDescriptors, expectedHeaders, this.TestDescriptorSettings.ExpectedResultSettings);
     this.baseUri = baseUri;
 }
 public BatchWriterTestDescriptor(Settings settings, WriterInvocations[] invocations, string expectedExceptionMessage, Uri baseUri = null)
     : this(settings, invocations.Select(i => new InvocationAndOperationDescriptor { Invocation = i, OperationDescriptor = null }).ToArray(), expectedExceptionMessage, baseUri)
 {
 }