public void Named_ThrowsWhenNull()
        {
            var website = WebAdministrationFactory.CreateWebsite();
            var sut     = new WebsiteConfigurer(_logger, website);

            Assert.Throws <ArgumentNullException>(() => sut.Named(null));
        }
        public void Named_SetsTheName()
        {
            var website = WebAdministrationFactory.CreateWebsite();
            var sut     = new WebsiteConfigurer(_logger, website);

            sut.Named("TestWebsite");

            Assert.Equal("TestWebsite", website.Name);
        }
        public void Named_ThrowsWhenNull()
        {
            var website = WebAdministrationFactory.CreateWebsite();
            var sut = new WebsiteConfigurer(_logger, website);

            Assert.Throws<ArgumentNullException>(() => sut.Named(null));
        }
        public void Named_SetsTheName()
        {
            var website = WebAdministrationFactory.CreateWebsite();
            var sut = new WebsiteConfigurer(_logger, website);

            sut.Named("TestWebsite");

            Assert.Equal("TestWebsite", website.Name);
        }