public void Can_create_app_pool() { AppPoolController poolControllerController = new AppPoolController(new Website { Server = "localhost", AppPool = new AppPool { Name = "MasterAppPool" } }); poolControllerController.Create(); Assert.True(poolControllerController.Exists()); }
public void Exists_returns_false_if_not_created() { AppPoolController poolControllerController = new AppPoolController(new Website { Server = "localhost", AppPool = new AppPool { Name = "MasterAppPool" } }); Assert.False(poolControllerController.Exists()); }