public void WhenAppSettingsAreChangedSuccessfully()
        {
            // arrange
            const string expectedValue = "BP_AppSettings_Value123";

            Environment.SetEnvironmentVariable("appSettings:BP_AppSettings_Key1", expectedValue);


            // act
            _bp.Run(new[] { "supply", "", "", "", "0" });

            // assert
            var xml = new XmlDocument();

            xml.Load("web.config");

            var actualValue = xml.SelectSingleNode("/configuration/appSettings/add[@key='BP_AppSettings_Key1']/@value").Value;

            Assert.Equal(expectedValue, actualValue);
        }
        public void XmlTransformationApplied_FromTransformationKey_And_IfTransformationFileExists()
        {
            Environment.SetEnvironmentVariable(Constants.XML_TRANSFORM_KEY_NM, "Cloud");
            string expectedValue = "InsertedFromCloud";

            // act
            _bp.Run(new[] { "supply", "", "", "", "0" });

            // assert
            var xml = new XmlDocument();

            xml.Load("web.config");

            var actualValue = xml.SelectSingleNode("/configuration/qux/quz[@key='Inserted']/@value").Value;

            Assert.Equal(expectedValue, actualValue);
        }