Beispiel #1
0
        public void TestGetBirthdayListPositive()
        {
            var testDate        = new DateTime(1955, 10, 28);
            var service         = new BirthdayMessageService(new AcmeApiService());
            var TodaysBirthDays = service.GetBirthdayList(testDate);


            service.Send();
            Assert.IsTrue(TodaysBirthDays.Count > 0);
        }
Beispiel #2
0
        public void TestSendMessage()
        {
            var service = new BirthdayMessageService(new AcmeApiService());

            service.Send();
        }