public virtual void test_ofCalendarDays1_threeDays()
        {
            DaysAdjustment test = DaysAdjustment.ofCalendarDays(3);

            assertEquals(test.Days, 3);
            assertEquals(test.Calendar, NO_HOLIDAYS);
            assertEquals(test.Adjustment, BDA_NONE);
            assertEquals(test.ToString(), "3 calendar days");
        }
        public virtual void test_ofCalendarDays2_fourDays()
        {
            DaysAdjustment test = DaysAdjustment.ofCalendarDays(4, BDA_FOLLOW_SAT_SUN);

            assertEquals(test.Days, 4);
            assertEquals(test.Calendar, NO_HOLIDAYS);
            assertEquals(test.Adjustment, BDA_FOLLOW_SAT_SUN);
            assertEquals(test.ToString(), "4 calendar days then apply Following using calendar Sat/Sun");
        }
        //-------------------------------------------------------------------------
        public virtual void test_ofCalendarDays1_oneDay()
        {
            DaysAdjustment test = DaysAdjustment.ofCalendarDays(1);

            assertEquals(test.Days, 1);
            assertEquals(test.Calendar, NO_HOLIDAYS);
            assertEquals(test.Adjustment, BDA_NONE);
            assertEquals(test.ToString(), "1 calendar day");
        }
        //-------------------------------------------------------------------------
        public virtual void test_NONE()
        {
            DaysAdjustment test = DaysAdjustment.NONE;

            assertEquals(test.Days, 0);
            assertEquals(test.Calendar, NO_HOLIDAYS);
            assertEquals(test.Adjustment, BDA_NONE);
            assertEquals(test.ToString(), "0 calendar days");
        }
        public virtual void test_ofBusinessDays3_fourDays()
        {
            DaysAdjustment test = DaysAdjustment.ofBusinessDays(4, SAT_SUN, BDA_FOLLOW_WED_THU);

            assertEquals(test.Days, 4);
            assertEquals(test.Calendar, SAT_SUN);
            assertEquals(test.Adjustment, BDA_FOLLOW_WED_THU);
            assertEquals(test.ToString(), "4 business days using calendar Sat/Sun then apply Following using " + "calendar WedThu");
        }
        public virtual void test_ofBusinessDays2_threeDays()
        {
            DaysAdjustment test = DaysAdjustment.ofBusinessDays(3, SAT_SUN);

            assertEquals(test.Days, 3);
            assertEquals(test.Calendar, SAT_SUN);
            assertEquals(test.Adjustment, BDA_NONE);
            assertEquals(test.ToString(), "3 business days using calendar Sat/Sun");
        }
        //-------------------------------------------------------------------------
        public virtual void test_ofBusinessDays2_oneDay()
        {
            DaysAdjustment test = DaysAdjustment.ofBusinessDays(1, SAT_SUN);

            assertEquals(test.Days, 1);
            assertEquals(test.Calendar, SAT_SUN);
            assertEquals(test.Adjustment, BDA_NONE);
            assertEquals(test.ToString(), "1 business day using calendar Sat/Sun");
        }