public void SetUp() { this.fileSystem = new TestIFileSystemService(); this.platform = new TestIPlatformService { ReadFileFunc = x => new MemoryStream(), WriteFileFunc = x => new MemoryStream() }; this.streamBuilder = new TestIStreamBuilder(); this.service = new DefaultHuffmanEncodingService(fileSystem, platform, streamBuilder); }
public void SetUp() { this.fileSystem = new TestIFileSystemService(); this.platform = new TestIPlatformService(); this.service = new DefaultHuffmanEncodingService(fileSystem, platform, new DefaultStreamBuilder()); }