//-------------------------------------------------------------------------
        public virtual void coverage()
        {
            SabrSwaptionDefinition test = SabrSwaptionDefinition.of(NAME, CONVENTION, DAY_COUNT, INTERPOLATOR_2D);

            coverImmutableBean(test);
            SabrSwaptionDefinition test2 = SabrSwaptionDefinition.of(NAME2, CONVENTION2, DAY_COUNT2, INTERPOLATOR_2D2);

            coverBeanEquals(test, test2);
        }
        //-------------------------------------------------------------------------
        public virtual void of()
        {
            SabrSwaptionDefinition test = SabrSwaptionDefinition.of(NAME, CONVENTION, DAY_COUNT, INTERPOLATOR_2D);

            assertEquals(test.Name, NAME);
            assertEquals(test.Convention, CONVENTION);
            assertEquals(test.DayCount, DAY_COUNT);
            assertEquals(test.Interpolator, INTERPOLATOR_2D);
        }
        public virtual void test_serialization()
        {
            SabrSwaptionDefinition test = SabrSwaptionDefinition.of(NAME, CONVENTION, DAY_COUNT, INTERPOLATOR_2D);

            assertSerialization(test);
        }