@Test
    public void testIsDegradeEffective() {
        RegulationStrategy regulationStrategy = new ServiceHorizontalRegulationStrategy();
        FaultToleranceConfig config = new FaultToleranceConfig();
        config.setDegradeEffective(true);
        FaultToleranceConfigManager.putAppConfig(APP_NAME1, config);
        InvocationStatDimension invocationA = new InvocationStatDimension(ProviderHelper.toProviderInfo("ip"),
            consumerConfig);
        MeasureResultDetail measureResultDetailA = new MeasureResultDetail(invocationA, MeasureState.ABNORMAL);
        Assert.assertTrue(regulationStrategy.isDegradeEffective(measureResultDetailA));
    }
@author <a href="mailto:lw111072@antfin.com">liangen</a>
fault/fault-tolerance/src/test/java/com/alipay/sofa/rpc/client/aft/RegulationStrategyTest.java