Defines the MockDirectory type.
Inheritance: System.IO.Abstractions.DirectoryBase
        public void Initialize()
        {
            this.mockFileSystem = new Mock<IFileSystem>();
            this.mockDirectory = new MockDirectory { DirectoryExists = true };
            this.mockFileSystem.SetupGet(x => x.Directory).Returns(this.mockDirectory);
            this.service = new ZipperService(this.mockFileSystem.Object);

            this.BuildTestZipFile();
        }
        public void Initialize()
        {
            this.mockFileSystem = new Mock<IFileSystem>();

            MockDirectory mockDirectory = new MockDirectory { DirectoryExists = true };

            this.mockFileSystem.SetupGet(x => x.Directory).Returns(mockDirectory);

            this.service = new ConfigurationService(this.mockFileSystem.Object);
        }
        public void Initialize()
        {
            this.mockPluginsService = new Mock<IPluginsService>();
            this.mockFileSystem = new Mock<IFileSystem>();
            this.mockSettingsService = new Mock<ISettingsService>();
            this.mockPluginsTranslator = new Mock<ITranslator<Tuple<DirectoryInfoBase, DirectoryInfoBase>, Plugins>>();
            this.mockPluginTranslator = new Mock<ITranslator<FileInfoBase, Plugin>>();

            MockDirectoryInfoFactory mockDirectoryInfoFactory = new MockDirectoryInfoFactory();
            this.mockFileSystem.SetupGet(x => x.DirectoryInfo).Returns(mockDirectoryInfoFactory);

            MockDirectory mockDirectory = new MockDirectory { DirectoryExists = true };
            this.mockFileSystem.SetupGet(x => x.Directory).Returns(mockDirectory);

            this.factory = new PluginFactory(
                this.mockPluginsService.Object,
                this.mockFileSystem.Object,
                this.mockSettingsService.Object,
                this.mockPluginsTranslator.Object,
                this.mockPluginTranslator.Object);
        }