diff options
Diffstat (limited to 'jdisc_core/src/test/java/com/yahoo/jdisc/service/BindingSetNotFoundTestCase.java')
-rw-r--r-- | jdisc_core/src/test/java/com/yahoo/jdisc/service/BindingSetNotFoundTestCase.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/jdisc_core/src/test/java/com/yahoo/jdisc/service/BindingSetNotFoundTestCase.java b/jdisc_core/src/test/java/com/yahoo/jdisc/service/BindingSetNotFoundTestCase.java index 880641fe0f0..ad09c9d745e 100644 --- a/jdisc_core/src/test/java/com/yahoo/jdisc/service/BindingSetNotFoundTestCase.java +++ b/jdisc_core/src/test/java/com/yahoo/jdisc/service/BindingSetNotFoundTestCase.java @@ -4,12 +4,12 @@ package com.yahoo.jdisc.service; import com.google.inject.AbstractModule; import com.yahoo.jdisc.application.BindingSetSelector; import com.yahoo.jdisc.test.TestDriver; -import org.junit.Test; +import org.junit.jupiter.api.Test; import java.net.URI; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.fail; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.fail; /** @@ -18,13 +18,13 @@ import static org.junit.Assert.fail; public class BindingSetNotFoundTestCase { @Test - public void requireThatAccessorsWork() { + void requireThatAccessorsWork() { BindingSetNotFoundException e = new BindingSetNotFoundException("foo"); assertEquals("foo", e.bindingSet()); } @Test - public void requireThatBindingSetNotFoundIsThrown() { + void requireThatBindingSetNotFoundIsThrown() { TestDriver driver = TestDriver.newSimpleApplicationInstanceWithoutOsgi(new AbstractModule() { @Override |