Skip to content

Commit 05676d2

Browse files
committed
migrate ReflectionUtilsTest to JUnit 5
Signed-off-by: Peter Gafert <[email protected]>
1 parent 7fd972f commit 05676d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

archunit-junit/src/test/java/com/tngtech/archunit/junit/internal/ReflectionUtilsTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@
66
import java.util.Collection;
77
import java.util.function.Predicate;
88

9-
import org.junit.Test;
9+
import org.junit.jupiter.api.Test;
1010

1111
import static com.tngtech.archunit.base.Predicates.alwaysTrue;
1212
import static com.tngtech.archunit.testutil.ReflectionTestUtils.field;
1313
import static com.tngtech.archunit.testutil.ReflectionTestUtils.method;
1414
import static org.assertj.core.api.Assertions.assertThat;
1515

1616
public class ReflectionUtilsTest {
17+
1718
@Test
1819
public void getAllFields() {
1920
Collection<Field> fields = ReflectionUtils.getAllFields(Child.class, named("field"));

0 commit comments

Comments
 (0)