//-------------------------------------------------------------------------
        public virtual void coverage()
        {
            TargetTypeCalculationParameter test = TargetTypeCalculationParameter.of(ImmutableMap.of(typeof(TestTarget), PARAM1, typeof(TestTarget2), PARAM2), PARAM3);

            coverImmutableBean(test);
            TargetTypeCalculationParameter test2 = TargetTypeCalculationParameter.of(ImmutableMap.of(typeof(TestTarget), PARAM1), PARAM2);

            coverBeanEquals(test, test2);
        }
        //-------------------------------------------------------------------------
        public virtual void test_of()
        {
            TargetTypeCalculationParameter test = TargetTypeCalculationParameter.of(ImmutableMap.of(typeof(TestTarget), PARAM1, typeof(TestTarget2), PARAM2), PARAM3);

            assertEquals(test.QueryType, typeof(TestParameter));
            assertEquals(test.Parameters.size(), 2);
            assertEquals(test.DefaultParameter, PARAM3);
            assertEquals(test.queryType(), typeof(TestParameter));
            assertEquals(test.filter(TARGET1, TestingMeasures.PRESENT_VALUE), PARAM1);
            assertEquals(test.filter(TARGET2, TestingMeasures.PRESENT_VALUE), PARAM2);
            assertEquals(test.filter(TARGET3, TestingMeasures.PRESENT_VALUE), PARAM3);
        }
 //-----------------------------------------------------------------------
 public override bool Equals(object obj)
 {
     if (obj == this)
     {
         return(true);
     }
     if (obj != null && obj.GetType() == this.GetType())
     {
         TargetTypeCalculationParameter other = (TargetTypeCalculationParameter)obj;
         return(JodaBeanUtils.equal(queryType_Renamed, other.queryType_Renamed) && JodaBeanUtils.equal(parameters, other.parameters) && JodaBeanUtils.equal(defaultParameter, other.defaultParameter));
     }
     return(false);
 }
 public virtual void of_badType()
 {
     assertThrowsIllegalArg(() => TargetTypeCalculationParameter.of(ImmutableMap.of(typeof(TestTarget), PARAM_OTHER), PARAM3));
 }
 public virtual void of_empty()
 {
     assertThrowsIllegalArg(() => TargetTypeCalculationParameter.of(ImmutableMap.of(), PARAM3));
 }