diff --git a/src/test/java/com/powsybl/openloadflow/sa/OpenSecurityAnalysisProviderTest.java b/src/test/java/com/powsybl/openloadflow/sa/OpenSecurityAnalysisProviderTest.java index 08e030763c..41bd249eaa 100644 --- a/src/test/java/com/powsybl/openloadflow/sa/OpenSecurityAnalysisProviderTest.java +++ b/src/test/java/com/powsybl/openloadflow/sa/OpenSecurityAnalysisProviderTest.java @@ -127,6 +127,7 @@ void testContingencyParametersExtension() { void testContingencyParametersExtensionJson() throws IOException { Contingency contingency = new Contingency("L2", new BranchContingency("L2")); contingency.addExtension(ContingencyParameters.class, new ContingencyParameters(false, true, LoadFlowParameters.BalanceType.PROPORTIONAL_TO_LOAD)); + assertEquals(ContingencyParameters.class, new ContingencyParametersJsonSerializer().getExtensionClass()); roundTripTest(contingency, JsonSerializer::write, JsonSerializer::readContingency, "/contingencies.json"); } }