protected override void When(ServerManagerWrapper manager) { var existingSite = manager.Sites.Single(x => x.Name == SiteName); var appPool = new ConfigureAppPool(manager); appPool.ConfigureInstalledSite(existingSite, InstallationConfiguration); }
public void SetUp() { _serverManagerMock = new Mock<IServerManager>(); _cfg = new ConfigureAppPool(_serverManagerMock.Object); }