/// <summary>
 /// Used for Unit Testing
 /// </summary>
 /// <param name="headerDeserializer"></param>
 /// <param name="headerValidators"></param>
 /// <param name="contentDeserializer"></param>
 internal FitsDocumentReader(
     IHeaderDeserializer headerDeserializer,
     List <IValidator <Header> > headerValidators,
     IContentDeserializer contentDeserializer)
 {
     this.headerValidators    = headerValidators;
     this.contentDeserializer = contentDeserializer;
     this.headerDeserializer  = headerDeserializer;
 }
 private void UseDeserializersForReading()
 {
     headerDeserializer  = new HeaderDeserializer();
     contentDeserializer = new ContentDeserializer();
 }