Example #1
0
        public void GetMonth_Insert3ForMarch_Returnsfeb()
        {
            BookingViewModel model = CreateBookingViewModel();
            var result             = model.GetMonth(3);

            Assert.AreEqual("mar", result);
        }
Example #2
0
        public void GetMonth_Insert13ForInvalidMonth_ReturnsEmptyString()
        {
            BookingViewModel model = CreateBookingViewModel();
            var result             = model.GetMonth(13);

            Assert.AreEqual("", result);
        }
Example #3
0
        public void GetMonth_Insert2ForFeb_Returnsfeb()
        {
            BookingViewModel model = CreateBookingViewModel();
            var feb = model.GetMonth(2);

            Assert.AreEqual("feb", feb);
        }