public Task ContextCanNotBeNull()
        {
            var sut = new RoadNodesToZipArchiveWriter(_fixture.MemoryStreamManager, Encoding.UTF8);

            return(Assert.ThrowsAsync <ArgumentNullException>(
                       () => sut.WriteAsync(new ZipArchive(Stream.Null, ZipArchiveMode.Create, true), null, default)));
        }
        public Task ArchiveCanNotBeNull()
        {
            var sut = new RoadNodesToZipArchiveWriter(_fixture.MemoryStreamManager, Encoding.UTF8);

            return(Assert.ThrowsAsync <ArgumentNullException>(
                       () => sut.WriteAsync(null, new EditorContext(), default)));
        }