summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/java/com/yahoo/config/model/producer/AbstractConfigProducerTest.java
diff options
context:
space:
mode:
authorErlend <erlendniko@hotmail.com>2022-07-29 14:26:26 +0200
committerErlend <erlendniko@hotmail.com>2022-07-29 14:26:26 +0200
commit79336a368800c0e2b691b34cbeccd9f93be5db90 (patch)
tree5336ad08fc202c93b680eb3b9b4a4cd1133376f4 /config-model/src/test/java/com/yahoo/config/model/producer/AbstractConfigProducerTest.java
parent362438cc3eb855854aa6110cf01667f80dd10ba0 (diff)
parent3afb44d4e4328b2732f65b4a436baa2ce2c850b0 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'config-model/src/test/java/com/yahoo/config/model/producer/AbstractConfigProducerTest.java')
-rw-r--r--config-model/src/test/java/com/yahoo/config/model/producer/AbstractConfigProducerTest.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/config-model/src/test/java/com/yahoo/config/model/producer/AbstractConfigProducerTest.java b/config-model/src/test/java/com/yahoo/config/model/producer/AbstractConfigProducerTest.java
index 04ae4c76f27..763b9c25072 100644
--- a/config-model/src/test/java/com/yahoo/config/model/producer/AbstractConfigProducerTest.java
+++ b/config-model/src/test/java/com/yahoo/config/model/producer/AbstractConfigProducerTest.java
@@ -2,10 +2,10 @@
package com.yahoo.config.model.producer;
import com.yahoo.cloud.config.log.LogdConfig;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertNotNull;
/**
* Verifies some of the logic in the abstract config producer that is not tested in other classes.
@@ -16,7 +16,7 @@ import static org.junit.Assert.assertEquals;
public class AbstractConfigProducerTest {
@Test
- public void require_that_interface_is_found_if_directly_implemented() throws ReflectiveOperationException {
+ void require_that_interface_is_found_if_directly_implemented() throws ReflectiveOperationException {
MockLogdProducer producer = new MockLogdProducer("mocky");
ClassLoader loader = producer.getConfigClassLoader(LogdConfig.Producer.class.getName());
assertNotNull(loader);
@@ -29,7 +29,7 @@ public class AbstractConfigProducerTest {
}
@Test
- public void require_that_interface_is_found_if_inherited() throws ReflectiveOperationException {
+ void require_that_interface_is_found_if_inherited() throws ReflectiveOperationException {
MockLogdProducerSubclass producer = new MockLogdProducerSubclass("mocky");
ClassLoader loader = producer.getConfigClassLoader(LogdConfig.Producer.class.getName());
assertNotNull(loader);