public async Task DecodeTest1()
        {
            platform.ReadFileFunc = x => new MemoryStream(new byte[0]);

            streamParser.Trace = string.Empty;
            await service.DecodeAsync(@"C:\Input.archive", @"C:\Output\", CancellationToken.None, null);

            Assert.AreEqual(string.Empty, streamParser.Trace);
        }
 public void DecodeGuardCase1Test()
 {
     Assert.ThrowsAsync <ArgumentNullException>(async() => await service.DecodeAsync(null, @"C:\Dir\", CancellationToken.None, null));
 }