diff options
Diffstat (limited to 'jdisc_core/src/test/java/com/yahoo/jdisc/service/AbstractServerProviderTestCase.java')
-rw-r--r-- | jdisc_core/src/test/java/com/yahoo/jdisc/service/AbstractServerProviderTestCase.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/jdisc_core/src/test/java/com/yahoo/jdisc/service/AbstractServerProviderTestCase.java b/jdisc_core/src/test/java/com/yahoo/jdisc/service/AbstractServerProviderTestCase.java index 7f4d9f72980..d46c5067dd9 100644 --- a/jdisc_core/src/test/java/com/yahoo/jdisc/service/AbstractServerProviderTestCase.java +++ b/jdisc_core/src/test/java/com/yahoo/jdisc/service/AbstractServerProviderTestCase.java @@ -4,10 +4,10 @@ package com.yahoo.jdisc.service; import com.google.inject.Inject; import com.yahoo.jdisc.application.ContainerBuilder; 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.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertTrue; /** @@ -16,14 +16,14 @@ import static org.junit.Assert.assertTrue; public class AbstractServerProviderTestCase { @Test - public void requireThatAbstractClassIsAServerProvider() { + void requireThatAbstractClassIsAServerProvider() { TestDriver driver = TestDriver.newSimpleApplicationInstanceWithoutOsgi(); assertTrue(ServerProvider.class.isInstance(new MyServerProvider(driver))); assertTrue(driver.close()); } @Test - public void requireThatAccessorsWork() { + void requireThatAccessorsWork() { TestDriver driver = TestDriver.newSimpleApplicationInstanceWithoutOsgi(); ContainerBuilder builder = driver.newContainerBuilder(); MyServerProvider server = builder.getInstance(MyServerProvider.class); |