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

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

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

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