mirror of
https://github.com/apache/nifi.git
synced 2025-03-01 06:59:08 +00:00
NIFI-9107 Converted remaining nifi-enrich-bundle tests from JUnit 4 to 5
This closes #6698 Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
parent
f3d2dfaf5c
commit
844f311c52
@ -26,8 +26,8 @@ import java.util.Hashtable;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.mockito.Mockito;
|
||||
import org.mockito.invocation.InvocationOnMock;
|
||||
import org.mockito.stubbing.Answer;
|
||||
@ -39,13 +39,13 @@ import javax.naming.directory.BasicAttribute;
|
||||
import javax.naming.directory.BasicAttributes;
|
||||
import javax.naming.directory.DirContext;
|
||||
|
||||
import static org.junit.Assert.assertTrue;
|
||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
|
||||
public class TestQueryDNS {
|
||||
private QueryDNS queryDNS;
|
||||
private TestRunner queryDNSTestRunner;
|
||||
|
||||
@Before
|
||||
@BeforeEach
|
||||
public void setupTest() throws Exception {
|
||||
this.queryDNS = new QueryDNS();
|
||||
this.queryDNSTestRunner = TestRunners.newTestRunner(queryDNS);
|
||||
|
Loading…
x
Reference in New Issue
Block a user