Exemple #1
0
 //-----------------------------------------------------------------------
 public override bool Equals(object obj)
 {
     if (obj == this)
     {
         return(true);
     }
     if (obj != null && obj.GetType() == this.GetType())
     {
         ReportRequirements other = (ReportRequirements)obj;
         return(JodaBeanUtils.equal(tradeMeasureRequirements, other.tradeMeasureRequirements));
     }
     return(false);
 }
        public virtual void test_of_array()
        {
            ReportRequirements test = ReportRequirements.of(COLUMN, COLUMN2);

            assertEquals(test.TradeMeasureRequirements, ImmutableList.of(COLUMN, COLUMN2));
        }
 internal static ReportRequirements sut2()
 {
     return(ReportRequirements.of(ImmutableList.of(COLUMN2)));
 }
        //-------------------------------------------------------------------------
        public virtual void test_of()
        {
            ReportRequirements test = sut();

            assertEquals(test.TradeMeasureRequirements, ImmutableList.of(COLUMN));
        }