public void When_Greeted_In_The_Morning_Returns_MorningView()
        {
            //Arrage
            var fakeGreeter = new FakeGreeter();
            var fakeDateTimeServiceForMorning = new FakeDateTimeServiceForMorning();
            var controller = new GreeterController(fakeGreeter, fakeDateTimeServiceForMorning);
            var expectedViewName = "MorningView";
            var greetInput = new GreetInput();
            //Act
            var result = controller.Greet(greetInput);

            //Assert
            Assert.AreEqual(expectedViewName, result.ViewName);
        }
        public void When_Greeted_GreeterMessage_Is_Rendered()
        {
            //Arrange
            var fakeGreeter = new FakeGreeter();
            var fakeDateTimeServiceForMorning = new FakeDateTimeServiceForMorning();
            var controller = new GreeterController(fakeGreeter, fakeDateTimeServiceForMorning);
            var expectedMessage = fakeGreeter.Greet();
            var greetInput = new GreetInput();
            //Act
            var viewResult = controller.Greet(greetInput);

            //Assert
            Assert.AreEqual(expectedMessage, viewResult.ViewData["message"]);
        }