public override void Context() { base.Context(); StopApplicationPool(); AppPool.ShouldBeStopped(); task = new Iis7OperationTask { ServerName = WebServerName, ApplicationPool = ApplicationPoolName, Operation = Iis7Operation.StartApplicationPool }; }
public void the_application_pool_should_remain_stopped() { AppPool.ShouldBeStopped(); }