public void Init()
        {
            this.model = ClassPropertyInitializator.SetProperties<OLEOPIStayingBlock>(new OLEOPIStayingBlock());

            var locManager = new Mock<ILocalizationManager>();
            locManager.Setup(
                s => s.GetValidatorTranslationTEST(It.IsAny<string>(), It.IsAny<string>(), It.IsAny<string>()))
                .Returns("Some test string");

            dbMock = new Mock<IGeneralDataHelper>();

            this.validator = new OLEOPIStayingBlockValidator(locManager.Object, dbMock.Object);
        }
        /// <summary>
        /// Maps from web to db Model
        /// </summary>
        /// <param name="input">OLEOPIStayingBlock Web model</param>
        /// <param name="dbModel">OLEOPIEducationInformationPage object model</param>
        private static void ToStayingLongerResoningDbModel(OLEOPIStayingBlock input, db.OLEOPIEducationInformationPage dbModel)
        {
            if (input == null || dbModel == null)
            {
                throw new ArgumentException("One of model is null");
            }

            dbModel.StayingDurationOfStudies = input.DurationOfStudies;
            dbModel.StayingReasonToHaveLongerPermit = input.ReasonToHaveLongerPermit;
            dbModel.StayingReasonToStayLonger = input.ReasonToStayLonger;
            dbModel.StayingReasonToStudyInFinland = input.ReasonToStudyInFinland;
        }