/// <summary>
 /// Copy constructor.
 /// </summary>
 /// <param name="other">The test case instance to copy.</param>
 public BatchReaderStreamOrBufferTestCase(BatchReaderStreamOrBufferTestCase other)
 {
     this.Encoding            = other.Encoding;
     this.LineFeedChars       = other.LineFeedChars;
     this.DebugDescription    = other.DebugDescription;
     this.Injector            = other.Injector;
     this.Assert              = other.Assert;
     this.ExceptionVerifier   = other.ExceptionVerifier;
     this.PayloadFunc         = other.PayloadFunc;
     this.ExpectedBufferState = other.ExpectedBufferState;
     this.ExpectedException   = other.ExpectedException;
 }
 /// <summary>
 /// Copy constructor.
 /// </summary>
 /// <param name="other">The test case instance to copy.</param>
 public BatchReaderStreamOrBufferTestCase(BatchReaderStreamOrBufferTestCase other)
 {
     this.Encoding = other.Encoding;
     this.LineFeedChars = other.LineFeedChars;
     this.DebugDescription = other.DebugDescription;
     this.Injector = other.Injector;
     this.Assert = other.Assert;
     this.ExceptionVerifier = other.ExceptionVerifier;
     this.PayloadFunc = other.PayloadFunc;
     this.ExpectedBufferState = other.ExpectedBufferState;
     this.ExpectedException = other.ExpectedException;
 }