Exemple #1
0
        public virtual void test_of()
        {
            LabelParameterMetadata test = LabelParameterMetadata.of("Label");

            assertEquals(test.Label, "Label");
            assertEquals(test.Identifier, "Label");
        }
Exemple #2
0
        //-------------------------------------------------------------------------
        public virtual void coverage()
        {
            LabelParameterMetadata test = LabelParameterMetadata.of("Label");

            coverImmutableBean(test);
            LabelParameterMetadata test2 = LabelParameterMetadata.of("Label2");

            coverBeanEquals(test, test2);
        }
Exemple #3
0
 //-----------------------------------------------------------------------
 public override bool Equals(object obj)
 {
     if (obj == this)
     {
         return(true);
     }
     if (obj != null && obj.GetType() == this.GetType())
     {
         LabelParameterMetadata other = (LabelParameterMetadata)obj;
         return(JodaBeanUtils.equal(label, other.label));
     }
     return(false);
 }
Exemple #4
0
        public virtual void test_serialization()
        {
            LabelParameterMetadata test = LabelParameterMetadata.of("Label");

            assertSerialization(test);
        }