Exemplo n.º 1
0
        public void Should_Create_WebFarm()
        {
            // Arrange
            var settings = CakeHelper.GetWebFarmSettings();
            CakeHelper.DeleteWebFarm(settings.Name);

            // Act
            WebFarmManager manager = CakeHelper.CreateWebFarmManager();
            manager.Create(settings);

            // Assert
            Assert.NotNull(CakeHelper.GetWebFarm(settings.Name));
        }