コード例 #1
0
 public void HasGetSet()
 {
     const bool value = true;
     var entity = new InstitutionalAgreementConfiguration { IsCustomContactTypeAllowed = value };
     entity.ShouldNotBeNull();
     entity.IsCustomContactTypeAllowed.ShouldEqual(value);
 }
コード例 #2
0
 public void HasGetSet()
 {
     const int value = 8;
     var entity = new InstitutionalAgreementConfiguration { ForEstablishmentId = value };
     entity.ShouldNotBeNull();
     entity.ForEstablishmentId.ShouldEqual(value);
 }
コード例 #3
0
 public void HasGetSet()
 {
     var value = new InstitutionalAgreementConfiguration();
     var entity = new InstitutionalAgreementTypeValue { Configuration = value };
     entity.ShouldNotBeNull();
     entity.Configuration.ShouldEqual(value);
 }
コード例 #4
0
            public void HasGetSet()
            {
                var value  = new InstitutionalAgreementConfiguration();
                var entity = new InstitutionalAgreementTypeValue {
                    Configuration = value
                };

                entity.ShouldNotBeNull();
                entity.Configuration.ShouldEqual(value);
            }
            public void HasGetSet()
            {
                const bool value  = true;
                var        entity = new InstitutionalAgreementConfiguration {
                    IsCustomContactTypeAllowed = value
                };

                entity.ShouldNotBeNull();
                entity.IsCustomContactTypeAllowed.ShouldEqual(value);
            }
            public void HasGetSet()
            {
                const int value  = 8;
                var       entity = new InstitutionalAgreementConfiguration {
                    ForEstablishmentId = value
                };

                entity.ShouldNotBeNull();
                entity.ForEstablishmentId.ShouldEqual(value);
            }