public void SetUp()
 {
     this.platform = new TestIPlatformService {
         WriteFileFunc = _ => new MemoryStream()
     };
     this.fileDecoder  = new TestIFileDecoder();
     this.streamParser = new TestIStreamParser(fileDecoder);
     this.service      = new DefaultHuffmanDecodingService(platform, streamParser);
 }
 public TestIStreamParser(TestIFileDecoder decoder)
 {
     this.Decoder = decoder;
 }