示例#1
0
        //-------------------------------------------------------------------------
        public virtual void coverage()
        {
            RatesCurveInputsId test = RatesCurveInputsId.of(GROUP1, NAME1, ObservableSource.NONE);

            coverImmutableBean(test);
            RatesCurveInputsId test2 = RatesCurveInputsId.of(GROUP2, NAME2, SOURCE2);

            coverBeanEquals(test, test2);
        }
示例#2
0
        //-------------------------------------------------------------------------
        public virtual void test_of()
        {
            RatesCurveInputsId test = RatesCurveInputsId.of(GROUP1, NAME1, ObservableSource.NONE);

            assertEquals(test.CurveGroupName, GROUP1);
            assertEquals(test.CurveName, NAME1);
            assertEquals(test.ObservableSource, ObservableSource.NONE);
            assertEquals(test.MarketDataType, typeof(RatesCurveInputs));
            assertEquals(test.ToString(), "RatesCurveInputsId:Group1/Name1");
        }
示例#3
0
        public virtual void test_serialization()
        {
            RatesCurveInputsId test = RatesCurveInputsId.of(GROUP1, NAME1, ObservableSource.NONE);

            assertSerialization(test);
        }