private void ResetParameters()
 {
     this._linkFactoryMock = Mock.Create<ILinkFactory>( Behavior.Strict );
     this._linkInfos = new List<ILinkInfo>();
     this._target = null;
 }
        private void InitializeTarget()
        {
            var osCfgInfoMock = Mock.Create<IOsConfigurationInfo>();
            Mock.Arrange( () => osCfgInfoMock.Links ).Returns( this._linkInfos );

            var parametersDTO = new OsConfigurationParametersDTO
            {
                ApplicationInfo = Mock.Create<IApplicationInfo>( Behavior.Strict ),
                OsConfigurationInfo = osCfgInfoMock,
                PathVariablesDTO = Mock.Create<PathVariablesDTO>( Behavior.Strict )
            };
            var dependenciesDTO = new OsConfigurationDependenciesDTO
            {
                LinkFactory = this._linkFactoryMock
            };
            this._target = new OsConfiguration( parametersDTO, dependenciesDTO );
        }