//-----------------------------------------------------------------------
 public override bool Equals(object obj)
 {
     if (obj == this)
     {
         return(true);
     }
     if (obj != null && obj.GetType() == this.GetType())
     {
         CalculationTargetList other = (CalculationTargetList)obj;
         return(JodaBeanUtils.equal(targets, other.targets));
     }
     return(false);
 }
        public virtual void test_serialization()
        {
            CalculationTargetList test = CalculationTargetList.of(TARGET1, TARGET2);

            assertSerialization(test);
        }
        //-------------------------------------------------------------------------
        public virtual void coverage()
        {
            CalculationTargetList test = CalculationTargetList.of(TARGET1, TARGET2);

            coverImmutableBean(test);
        }
        public virtual void test_collection1()
        {
            CalculationTargetList test = CalculationTargetList.of(ImmutableList.of(TARGET1));

            assertEquals(test.Targets, ImmutableList.of(TARGET1));
        }
        public virtual void test_array2()
        {
            CalculationTargetList test = CalculationTargetList.of(TARGET1, TARGET2);

            assertEquals(test.Targets, ImmutableList.of(TARGET1, TARGET2));
        }
        //-------------------------------------------------------------------------
        public virtual void test_array0()
        {
            CalculationTargetList test = CalculationTargetList.of();

            assertEquals(test.Targets, ImmutableList.of());
        }