Example #1
0
        public void Today_Is_Not_Joey_Birthday1()
        {
            var expected = "No, Sorry";
            MockJoeyBirthday joeyBirthday = new MockJoeyBirthday();

            joeyBirthday.SetToday(new DateTime(1990, 11, 29));
            Assert.AreEqual(expected, joeyBirthday.IsTodayJoeyBirthday());
        }
Example #2
0
        public void Today_Is_Joey_Birthday2()
        {
            var expected     = "Happy Birthday";
            var joeyBirthday = new MockJoeyBirthday();

            joeyBirthday.SetToday(new DateTime(1990, 11, 28));
            Assert.AreEqual(expected, joeyBirthday.IsTodayJoeyBirthday());
        }