Beispiel #1
0
        public void Should_Return_Periods_Month_And_Year_Description()
        {
            Period testPeriodJan = new Period(testPeriodCodeJan);
            Period testPeriodFeb = new Period(testPeriodCodeFeb);
            Period testPeriod501 = new Period(testPeriodCode501);
            Period testPeriod402 = new Period(testPeriodCode402);

            Assert.AreEqual(testPeriodJan.DescriptionEn(), "January 2014");
            Assert.AreEqual(testPeriodFeb.DescriptionEn(), "February 2014");
            Assert.AreEqual(testPeriod501.DescriptionEn(), "January 2015");
            Assert.AreEqual(testPeriod402.DescriptionEn(), "February 2014");
        }