Esempio n. 1
0
        public void TestBlueSky_GetPayDaysInMonth()
        {
            //set-up
            CreatePayDayData();
            PayDayModel[] models = new PayDayModel[0];

            //pre-conditions
            Assert.AreEqual(0, models.Length);

            //exercise
            models = Presenter.GetPayDaysInMonth(new DateTime(2017, 05, 05));

            //post-conditions
            Assert.AreEqual(1, models.Length);
        }