public void ViewModel_InstitutionalAgreements_ConfigurationForms_InstitutionalAgreementContactTypeValueForm_ShouldBeConstructible()
        {
            var model = new InstitutionalAgreementContactTypeValueForm
            {
                Id = 1,
            };

            model.ShouldNotBeNull();
        }
        public void ViewModel_InstitutionalAgreements_ConfigurationForms_InstitutionalAgreementContactTypeValueForm_ShouldBeConstructible()
        {
            var model = new InstitutionalAgreementContactTypeValueForm
            {
                Id = 1,
            };

            model.ShouldNotBeNull();
        }
 public virtual PartialViewResult NewAgreementContactType(Guid configurationId)
 {
     var configurationRevisionId = 0;
     var configuration = _queryProcessor.Execute(
         new GetInstitutionalAgreementConfigurationByGuidQuery(configurationId));
     if (configuration != null)
         configurationRevisionId = configuration.RevisionId;
     var model = new InstitutionalAgreementContactTypeValueForm
     {
         ConfigurationId = configurationRevisionId,
     };
     return PartialView(GetEditorTemplateViewName(Area, Name,
         Views.EditorTemplates.InstitutionalAgreementContactTypeValueForm), model);
 }