Esempio n. 1
0
 public void WhenPassingAMessageThenTheCorrectMessageIsReturnedForPrint()
 {
     const string MESSAGE = "HelloWorld";
     var subject = new Print().For(MESSAGE);
     Assert.That(subject, Is.EqualTo(MESSAGE));
 }
 public ActionResult Index()
 {
     var message = new Print().For("Hello World");
     ViewData["message"] = message;
     return View("Index");
 }