public void TestIndexSetsTitleInViewBag()
        {
            // Arrange
            AngularController controller = new AngularController();

            // Act
            ViewResult result = controller.Index() as ViewResult;

            // Assert
            Assert.IsNotNull(result);
            Assert.AreEqual("Train Station Finder", result.ViewBag.Title);
        }
        public void TestIndexHaveCorrectViewTitle()
        {
            // Arrange
            AngularController controller = new AngularController();

            // Act
            ViewResult result = controller.Index() as ViewResult;

            // Assert
            Assert.IsNotNull(result);
            Assert.AreEqual("", result.ViewName);
        }