public void TestPostConfigurationValid()
        {
            //arrange
            var controller = new ConfigurationController();
            //var hostConfig = new HostConfiguration();
            var configFormVM = new ViewModels.ConfigurationFormViewModel();
            var mockConfigRepo = new Mock<IConfigurationRepository>();
            mockConfigRepo.Setup(r => r.SetHostConfiguration(configFormVM));

            //act
            var result = controller.Host() as RedirectToRouteResult;

            //assert
            mockConfigRepo.Verify();
            //incomplete\
        }
        public void TestGetConfigurationEditForm()
        {
            //arrange
            var controller = new ConfigurationController();
            var hostConfig = new HostConfiguration();
            var mockConfigRepo = new Mock<IConfigurationRepository>();
            mockConfigRepo.Setup(r => r.GetHostConfiguration()).Returns(hostConfig);

            //act
            var result=controller.Host() as ViewResult;

            //assert
            mockConfigRepo.Verify();
            Assert.IsNotNull(result);
            Assert.IsInstanceOfType(result.ViewData.Model, typeof(ViewModels.ConfigurationFormViewModel));
        }