protected override void Given(InstallationConfiguration installationConfiguration) { DeleteExistingSite(); CreateExistingSite(); installationConfiguration .WithAppPool(AppPoolName) .AndDeleteExistingAppPool(); }
public void SetUp() { DeleteExistingSite(); InstallationConfiguration = new InstallationConfiguration(Environment.CurrentDirectory, null); InstallationConfiguration.WithSiteName(SiteName); InstallationConfiguration.WithAppPool(AppPoolName); Given(InstallationConfiguration); using (var manager = new ServerManagerWrapper()) { When(manager); manager.CommitChanges(); } }