コード例 #1
0
            public override void Context()
            {
                base.Context();
                packageResult = new PackageResult("bob", "1.2.3", installDirectory);

                FileSystem.Setup(x => x.get_files(ApplicationParameters.PackagesLocation + "\\bob", It.IsAny <string>(), SearchOption.AllDirectories)).Returns(files);
                HashProvider.Setup(x => x.hash_file(It.IsAny <string>())).Returns("yes");
            }