Beispiel #1
0
        public void HaveBoilerPlateGreeting()
        {
            var greeting = "Hey Number Peeps! Checkout this great new number I found!";
            var mail     = new FanMail(greeting, "Bye");

            mail.ToString().ShouldContain(greeting);
        }
Beispiel #2
0
        public void HaveBoilerPlateSignOff()
        {
            var signOff = "Till I find my next number, go forth and spread the word of the integer!";
            var mail    = new FanMail("Hi", signOff);

            mail.ToString().ShouldContain(signOff);
        }
Beispiel #3
0
        public void ChangeMessageBody()
        {
            var mail     = new FanMail("Hi", "Bye");
            var bodyTest = "This is a Body Message!";

            mail.AddBody(bodyTest);

            mail.ToString().ShouldContain(bodyTest);
        }