public void TestFixtureSetUp()
        {
            loggerMock     = new MockLogger();
            fileSystemMock = new Mock <IFileSystem>();

            // ISystemIOWrapper.Directory.Exists Method Mocks
            fileSystemMock.Setup(f => f.Directory.Exists(expectedFolderItemFileName))
            .Returns(() => true);

            fileSystemMock.Setup(f => f.Directory.Exists(expectedFolderItem_NotFound_FileName))
            .Returns(() => false);

            fileSystemMock.Setup(f => f.Directory.Exists(expectedFolderItem_NoToken_FileName))
            .Returns(() => true);

            // ISystemIOWrapper.Path.GetDirectoryName Method Mocks
            fileSystemMock.Setup(f => f.Path.GetDirectoryName(expectedFolderItemFileName))
            .Returns(() => expectedFolderItemPath);

            fileSystemMock.Setup(f => f.Path.GetDirectoryName(expectedFolderItem_NoToken_FileName))
            .Returns(() => expectedFolderItemPath_NoToken);

            // ISystemIOWrapper.Path.GetFileName Method Mocks
            fileSystemMock.Setup(f => f.Path.GetFileName(expectedFolderItemFileName))
            .Returns(() => expectedFolderItem.Name);

            fileSystemMock.Setup(f => f.Path.GetFileName(expectedFolderItem_NoToken_FileName))
            .Returns(() => expectedFolderItem_NoToken.Name);

            importer = new FolderItemImporter(fileSystemMock.Object, loggerMock);
        }
        public void TestFixtureSetUp()
        {
            var settings = new NinjectSettings()
            {
                LoadExtensions = false
            };

            kernel = new StandardKernel(
                settings,
                new Log4NetModule(),
                new DependencyModule());

            importer = kernel.Get <FolderItemImporter>();
        }
        public void TestFixtureSetUp()
        {
            loggerMock = new MockLogger();
            fileSystemMock = new Mock<IFileSystem>();

            // ISystemIOWrapper.Directory.Exists Method Mocks
            fileSystemMock.Setup(f => f.Directory.Exists(expectedFolderItemFileName))
                .Returns(() => true);

            fileSystemMock.Setup(f => f.Directory.Exists(expectedFolderItem_NotFound_FileName))
                .Returns(() => false);

            fileSystemMock.Setup(f => f.Directory.Exists(expectedFolderItem_NoToken_FileName))
                .Returns(() => true);

            // ISystemIOWrapper.Path.GetDirectoryName Method Mocks
            fileSystemMock.Setup(f => f.Path.GetDirectoryName(expectedFolderItemFileName))
                .Returns(() => expectedFolderItemPath);

            fileSystemMock.Setup(f => f.Path.GetDirectoryName(expectedFolderItem_NoToken_FileName))
                .Returns(() => expectedFolderItemPath_NoToken);

            // ISystemIOWrapper.Path.GetFileName Method Mocks
            fileSystemMock.Setup(f => f.Path.GetFileName(expectedFolderItemFileName))
                .Returns(() => expectedFolderItem.Name);

            fileSystemMock.Setup(f => f.Path.GetFileName(expectedFolderItem_NoToken_FileName))
                .Returns(() => expectedFolderItem_NoToken.Name);

            importer = new FolderItemImporter(fileSystemMock.Object, loggerMock);
        }
        public void TestFixtureSetUp()
        {
            var settings = new NinjectSettings()
            {
                LoadExtensions = false
            };

            kernel = new StandardKernel(
                settings,
                new Log4NetModule(),
                new DependencyModule());

            importer = kernel.Get<FolderItemImporter>();
        }