Пример #1
0
        public void SubFeature1_DesktopPlatformSTAGEIsEnabled_ReturnsFalse()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.STAGE, PlatformEnum.Desktop, _application);

            var feature = new ApplicationAllFeature(jsonSettings);

            Assert.IsFalse(feature.SubFeature_1(jsonSettings).IsEnabled());
        }
Пример #2
0
        public void SubFeature1_WinPhonePlatformPRODIsEnabled_ReturnsFalse()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.PROD, PlatformEnum.WinPhone, _application);

            var feature = new ApplicationAllFeature(jsonSettings);

            Assert.IsFalse(feature.SubFeature_1(jsonSettings).IsEnabled());
        }
Пример #3
0
        public void SubFeature1_iOSPlatformQASIsEnabled_ReturnsFalse()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.QAS, PlatformEnum.iOS, _application);

            var feature = new ApplicationAllFeature(jsonSettings);

            Assert.IsFalse(feature.SubFeature_1(jsonSettings).IsEnabled());
        }
Пример #4
0
        public void SubFeature1_AndroidPlatformDEVIsEnabled_ReturnsFalse()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.DEV, PlatformEnum.Android, _application);

            var feature = new ApplicationAllFeature(jsonSettings);

            Assert.IsFalse(feature.SubFeature_1(jsonSettings).IsEnabled());
        }
Пример #5
0
        public void SubFeature1_WebPlatformSTAGEIsEnabled_ReturnsTrue()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.STAGE, PlatformEnum.Web, _application);

            var feature = new ApplicationAllFeature(jsonSettings);

            Assert.IsTrue(feature.SubFeature_1().IsEnabled());
        }
Пример #6
0
        public void SubFeature1_PRODIsEnabled_ReturnsTrue()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.PROD, _application);

            var feature = new ApplicationAllFeature(jsonSettings);

            Assert.IsTrue(feature.SubFeature_1().IsEnabled());
        }