diff --git a/src/test/java/io/jenkins/plugins/postgresqlapi/ClasspathTest.java b/src/test/java/io/jenkins/plugins/postgresqlapi/ClasspathTest.java index 6cd2d99..5cd3209 100644 --- a/src/test/java/io/jenkins/plugins/postgresqlapi/ClasspathTest.java +++ b/src/test/java/io/jenkins/plugins/postgresqlapi/ClasspathTest.java @@ -1,17 +1,19 @@ package io.jenkins.plugins.postgresqlapi; import static org.hamcrest.MatcherAssert.assertThat; + +import org.junit.jupiter.api.Test; import static org.hamcrest.CoreMatchers.*; -import org.junit.Test; -public class ClasspathTest { +class ClasspathTest { + @Test - public void testClasspath() throws ClassNotFoundException { + void testClasspath() throws ClassNotFoundException { assertThat(Class.forName("org.postgresql.Driver"), notNullValue()); } @Test - public void testDriver() { + void testDriver() { org.postgresql.Driver driver = new org.postgresql.Driver(); assertThat(driver.acceptsURL("jdbc:postgresql://localhost/postgres"), is(true)); }