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 void SetUp()
 {
     this.platform = new TestIPlatformService();
     this.service  = new DefaultHuffmanDecodingService(platform, new DefaultStreamParser());
 }