diff options
Diffstat (limited to 'jdisc_core/src/test/java/com/yahoo/jdisc/application/ApplicationNotReadyTestCase.java')
-rw-r--r-- | jdisc_core/src/test/java/com/yahoo/jdisc/application/ApplicationNotReadyTestCase.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/jdisc_core/src/test/java/com/yahoo/jdisc/application/ApplicationNotReadyTestCase.java b/jdisc_core/src/test/java/com/yahoo/jdisc/application/ApplicationNotReadyTestCase.java index 63331d2014d..1ac091fcc68 100644 --- a/jdisc_core/src/test/java/com/yahoo/jdisc/application/ApplicationNotReadyTestCase.java +++ b/jdisc_core/src/test/java/com/yahoo/jdisc/application/ApplicationNotReadyTestCase.java @@ -4,11 +4,11 @@ package com.yahoo.jdisc.application; import com.google.inject.Inject; import com.google.inject.ProvisionException; import com.yahoo.jdisc.test.TestDriver; -import org.junit.Test; +import org.junit.jupiter.api.Test; -import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertTrue; -import static org.junit.Assert.fail; +import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertTrue; +import static org.junit.jupiter.api.Assertions.fail; /** @@ -17,7 +17,7 @@ import static org.junit.Assert.fail; public class ApplicationNotReadyTestCase { @Test - public void requireThatExceptionIsThrown() { + void requireThatExceptionIsThrown() { try { TestDriver.newInjectedApplicationInstanceWithoutOsgi(MyApplication.class); fail(); |