HystrixPlugins { public HystrixDynamicProperties getDynamicProperties() { return dynamicProperties; } private  HystrixPlugins(ClassLoader classLoader, LoggerSupplier logSupplier); static HystrixPlugins getInstance(); static void reset(); HystrixEventNotifier getEventNotifier(); void registerEventNotifier(HystrixEventNotifier impl); HystrixConcurrencyStrategy getConcurrencyStrategy(); void registerConcurrencyStrategy(HystrixConcurrencyStrategy impl); HystrixMetricsPublisher getMetricsPublisher(); void registerMetricsPublisher(HystrixMetricsPublisher impl); HystrixPropertiesStrategy getPropertiesStrategy(); HystrixDynamicProperties getDynamicProperties(); void registerPropertiesStrategy(HystrixPropertiesStrategy impl); HystrixCommandExecutionHook getCommandExecutionHook(); void registerCommandExecutionHook(HystrixCommandExecutionHook impl);  }
@Test(expected=ServiceConfigurationError.class) public void testDynamicPropertiesFailure() throws Exception { fakeServiceLoaderResource = "FAKE_META_INF_SERVICES/com.netflix.hystrix.strategy.properties.HystrixDynamicPropertiesFail"; HystrixPlugins plugins = setupMockServiceLoader(); plugins.getDynamicProperties(); }