diff --git a/demos/customprovider-jdk9/src/test/java/customprovider/test/TestProviderTest.java b/demos/customprovider-jdk9/src/test/java/customprovider/test/TestProviderTest.java index 32dff212..9ea7e613 100644 --- a/demos/customprovider-jdk9/src/test/java/customprovider/test/TestProviderTest.java +++ b/demos/customprovider-jdk9/src/test/java/customprovider/test/TestProviderTest.java @@ -10,12 +10,11 @@ package customprovider.test; -import static org.junit.jupiter.api.Assertions.assertInstanceOf; - import jakarta.json.Json; import jakarta.json.stream.JsonGenerator; import org.eclipse.parsson.demos.customprovider.TestGenerator; +import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; /** @@ -27,7 +26,7 @@ public class TestProviderTest { @Test void hello() { try (JsonGenerator generator = Json.createGenerator(System.out)) { - assertInstanceOf(TestGenerator.class, generator, "TestGenerator is not picked up"); + Assertions.assertInstanceOf(TestGenerator.class, generator, "TestGenerator is not picked up"); generator.writeStartArray().writeEnd(); } System.out.println(); diff --git a/impl/pom.xml b/impl/pom.xml index ddc698bd..110440e2 100644 --- a/impl/pom.xml +++ b/impl/pom.xml @@ -1,7 +1,7 @@