상속: IAssemblyResourceDownloader
        public void Download_TargetFolderParameterIsNull_ArgumentNullExceptionIsThrown()
        {
            // Arrange
            string targetFolder = null;

            var assemblyFileResourceProviderMock = new Mock<IAssemblyFileResourceProvider>();
            var filesystemAccessorMock = new Mock<IFilesystemAccessor>();
            var deploymentScriptResourceDownloader = new DeploymentScriptResourceDownloader(assemblyFileResourceProviderMock.Object, filesystemAccessorMock.Object);

            // Act
            deploymentScriptResourceDownloader.Download(targetFolder);
        }
        public void Download_GetAllAssemblyResourceInfos_GetsCalledWithTheBaseNamespace()
        {
            // Arrange
            bool getAllAssemblyResourceInfosGotCalled = false;
            string targetFolder = "target-folder";

            var assemblyFileResourceProviderMock = new Mock<IAssemblyFileResourceProvider>();
            assemblyFileResourceProviderMock.Setup(a => a.GetAllAssemblyResourceInfos(It.IsAny<string>())).Returns(
                () =>
                    {
                        getAllAssemblyResourceInfosGotCalled = true;
                        return new List<AssemblyFileResourceInfo>();
                    });

            var filesystemAccessorMock = new Mock<IFilesystemAccessor>();
            var deploymentScriptResourceDownloader = new DeploymentScriptResourceDownloader(assemblyFileResourceProviderMock.Object, filesystemAccessorMock.Object);

            // Act
            deploymentScriptResourceDownloader.Download(targetFolder);

            // Assert
            Assert.IsTrue(getAllAssemblyResourceInfosGotCalled);
        }