public virtual void PreviousImmTest()
        {
            LocalDate today   = LocalDate.of(2011, 6, 21);
            LocalDate prevIMM = CdsImmDateLogic.getPreviousImmDate(today);

            assertEquals(LocalDate.of(2011, 6, 20), prevIMM);

            prevIMM = CdsImmDateLogic.getPreviousImmDate(CdsImmDateLogic.getPreviousImmDate(prevIMM));
            assertEquals(LocalDate.of(2010, 12, 20), prevIMM);

            today   = LocalDate.of(2011, 6, 18);
            prevIMM = CdsImmDateLogic.getPreviousImmDate(today);
            assertEquals(LocalDate.of(2011, 3, 20), prevIMM);

            today   = LocalDate.of(1976, 7, 30);
            prevIMM = CdsImmDateLogic.getPreviousImmDate(today);
            assertEquals(LocalDate.of(1976, 6, 20), prevIMM);

            today   = LocalDate.of(1977, 2, 13);
            prevIMM = CdsImmDateLogic.getPreviousImmDate(today);
            assertEquals(LocalDate.of(1976, 12, 20), prevIMM);

            today   = LocalDate.of(2013, 3, 1);
            prevIMM = CdsImmDateLogic.getPreviousImmDate(today);
            assertEquals(LocalDate.of(2012, 12, 20), prevIMM);
        }
        public virtual void onImmDateTest()
        {
            LocalDate today   = LocalDate.of(2013, 3, 20);
            LocalDate prevIMM = CdsImmDateLogic.getPreviousImmDate(today);

            assertEquals(prevIMM, LocalDate.of(2012, 12, 20));

            today   = LocalDate.of(2017, 6, 20);
            prevIMM = CdsImmDateLogic.getPreviousImmDate(today);
            assertEquals(LocalDate.of(2017, 3, 20), prevIMM);

            today   = LocalDate.of(2011, 9, 20);
            prevIMM = CdsImmDateLogic.getPreviousImmDate(today);
            assertEquals(LocalDate.of(2011, 6, 20), prevIMM);

            today   = LocalDate.of(2015, 12, 20);
            prevIMM = CdsImmDateLogic.getPreviousImmDate(today);
            assertEquals(LocalDate.of(2015, 9, 20), prevIMM);
        }