/// <summary>
        /// Initializes a new instance of the <see cref="SelfMediaDatabase.Console.Bootstrap.BootstrapOperations"/> class.
        /// </summary>
        /// <param name="optionUtils">Utils for command line options.</param>
        public BootstrapOperations(
            IOptionsUtils optionsUtils, 
            IRenameOperation renameOperation, 
            ITagsOperation tagsOperation, 
            IPruneOperation pruneOperation,
			IClassifyOperation classifyOperation,
			ISearchOperation searchOperation)
        {
            if (renameOperation == null)
                throw new ArgumentNullException("renameOperation");
            if (optionsUtils == null)
                throw new ArgumentNullException("optionsUtils");
            if (tagsOperation == null)
                throw new ArgumentNullException("tagsOperation");
            if (pruneOperation == null)
                throw new ArgumentNullException("pruneOperation");
			if (classifyOperation == null)
				throw new ArgumentNullException("classifyOperation");
			if (searchOperation == null)
				throw new ArgumentNullException("searchOperation");

            _optionsUtils = optionsUtils;
            _renameOperation = renameOperation;
            _tagsOperation = tagsOperation;
            _pruneOperation = pruneOperation;
			_classifyOperation = classifyOperation;
			_searchOperation = searchOperation;
        }
		public void Initialize()
		{
			_optionUtils = Substitute.For<IOptionsUtils>();
			_renameOperation = Substitute.For<IRenameOperation>();
			_tagsOperation = Substitute.For<ITagsOperation>();
			_pruneOperation = Substitute.For<IPruneOperation>();
			_classifyOperation = Substitute.For<IClassifyOperation>();
			_searchOperation = Substitute.For<ISearchOperation>();

			_target = new BootstrapOperations(_optionUtils, _renameOperation, _tagsOperation, _pruneOperation, _classifyOperation, _searchOperation);
		}