SecurityAnalysisParameters extends AbstractExtendable<SecurityAnalysisParameters> { public static SecurityAnalysisParameters load() { return load(PlatformConfig.defaultConfig()); }  static SecurityAnalysisParameters load(); static SecurityAnalysisParameters load(PlatformConfig platformConfig); LoadFlowParameters getLoadFlowParameters(); SecurityAnalysisParameters setLoadFlowParameters(LoadFlowParameters loadFlowParameters); static final String VERSION; }
@Test public void testExtensionFromConfig() { SecurityAnalysisParameters parameters = SecurityAnalysisParameters.load(); assertEquals(1, parameters.getExtensions().size()); assertTrue(parameters.getExtensionByName("dummyExtension") instanceof DummyExtension); assertNotNull(parameters.getExtension(DummyExtension.class)); }