public void TestCleanup()
        {
            _updatePackageFactory = null;

            _serverSettings = null;
            _updatePackageFactoryAccessMock = null;
        }
        public void TestInitialize()
        {
            TestCleanup();

            _serverSettings = new ServerSettings();
            _serverSettings.Type = GetDataMethod.LocalFile;
            _serverSettings.Path = "UpdatePackageFactoryTest_CreateDefaultCommand";

            _updatePackageFactoryAccessMock = new UpdatePackageAccessFactoryMock();
            _updatePackageFactoryAccessMock.CreateLocalFileAccess.Add(_serverSettings.Path, new LocalFileAccess(_serverSettings.Path));

            _htmlGetterMock = new Mock<IHtmlGetter>();

            _updatePackageFactory = new UpdatePackageFactory(_updatePackageFactoryAccessMock, _htmlGetterMock.Object);
        }