Пример #1
0
        //-------------------------------------------------------------------------
        public virtual void of()
        {
            TenorRawOptionData test = TenorRawOptionData.of(DATA_MAP);

            assertEquals(test.Data, DATA_MAP);
            assertEquals(test.getData(TENOR_3M), DATA1);
            assertEquals(test.Tenors, ImmutableList.of(TENOR_3M, TENOR_6M));
        }
Пример #2
0
        public virtual void test_serialization()
        {
            TenorRawOptionData test = TenorRawOptionData.of(DATA_MAP);

            assertSerialization(test);
        }
Пример #3
0
        //-------------------------------------------------------------------------
        public virtual void coverage()
        {
            TenorRawOptionData test = TenorRawOptionData.of(DATA_MAP);

            coverImmutableBean(test);
        }