ZeroInstall.Publish.ImplementationUtilsTest.AddMissingExceptions C# (CSharp) Method

AddMissingExceptions() private method

private AddMissingExceptions ( ) : void
return void
        public void AddMissingExceptions()
        {
            using (var stream = typeof(ArchiveExtractorTest).GetEmbeddedStream("testArchive.zip"))
            using (var microServer = new MicroServer("archive.zip", stream))
            {
                var implementation = new Implementation {ManifestDigest = new ManifestDigest(sha1New: "invalid"), RetrievalMethods = {new Archive {Href = microServer.FileUri}}};
                implementation.Invoking(x => x.AddMissing(new SilentTaskHandler())).ShouldThrow<DigestMismatchException>();
            }
        }