public void Feature_STAGEIsEnabled_ReturnsFalse() { var jsonSettings = GetJsonSettings(EnvironmentEnum.STAGE, _application); var feature = new ApplicationAllFeature(jsonSettings); Assert.IsFalse(feature.IsEnabled()); }
public void Feature_DEVIsEnabledWrongApp_ReturnsFalse() { var jsonSettings = GetJsonSettings(EnvironmentEnum.DEV, _differentApp); var feature = new ApplicationAllFeature(jsonSettings); Assert.IsFalse(feature.IsEnabled()); }
public void Feature_LOCALIsEnabledDifferentApp_ReturnsTrue() { var jsonSettings = GetJsonSettings(EnvironmentEnum.LOCAL, _differentApp); var feature = new ApplicationAllFeature(jsonSettings); Assert.IsTrue(feature.IsEnabled()); }
public void Feature_LocalIsEnabled_ReturnsTrue() { var jsonSettings = GetJsonSettings(EnvironmentEnum.LOCAL, _application); var feature = new ApplicationAllFeature(jsonSettings); Assert.IsTrue(feature.IsEnabled()); }
public void Feature_PRODDesktopPlatformIsEnabled_ReturnsFalse() { var jsonSettings = GetJsonSettings(EnvironmentEnum.PROD, PlatformEnum.Desktop, _application); var feature = new ApplicationAllFeature(jsonSettings); Assert.IsFalse(feature.IsEnabled()); }
public void Feature_DEVWinPhonePlatformIsEnabled_ReturnsFalse() { var jsonSettings = GetJsonSettings(EnvironmentEnum.LOCAL, PlatformEnum.WinPhone, _application); var feature = new ApplicationAllFeature(jsonSettings); Assert.IsFalse(feature.IsEnabled()); }