diff options
Diffstat (limited to 'jdisc_core/src/test/java/com/yahoo/jdisc/test/NonWorkingContentChannelTestCase.java')
-rw-r--r-- | jdisc_core/src/test/java/com/yahoo/jdisc/test/NonWorkingContentChannelTestCase.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jdisc_core/src/test/java/com/yahoo/jdisc/test/NonWorkingContentChannelTestCase.java b/jdisc_core/src/test/java/com/yahoo/jdisc/test/NonWorkingContentChannelTestCase.java index 4b26a53442d..46bbbad95ca 100644 --- a/jdisc_core/src/test/java/com/yahoo/jdisc/test/NonWorkingContentChannelTestCase.java +++ b/jdisc_core/src/test/java/com/yahoo/jdisc/test/NonWorkingContentChannelTestCase.java @@ -3,11 +3,11 @@ package com.yahoo.jdisc.test; import com.yahoo.jdisc.handler.CompletionHandler; import com.yahoo.jdisc.handler.ContentChannel; -import org.junit.Test; +import org.junit.jupiter.api.Test; import java.nio.ByteBuffer; -import static org.junit.Assert.fail; +import static org.junit.jupiter.api.Assertions.fail; /** @@ -16,7 +16,7 @@ import static org.junit.Assert.fail; public class NonWorkingContentChannelTestCase { @Test - public void requireThatWriteThrowsException() { + void requireThatWriteThrowsException() { ContentChannel content = new NonWorkingContentChannel(); try { content.write(null, null); @@ -48,7 +48,7 @@ public class NonWorkingContentChannelTestCase { } @Test - public void requireThatCloseThrowsException() { + void requireThatCloseThrowsException() { ContentChannel content = new NonWorkingContentChannel(); try { content.close(null); |