We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ReflectionUtilsTest
1 parent 7fd972f commit 05676d2Copy full SHA for 05676d2
archunit-junit/src/test/java/com/tngtech/archunit/junit/internal/ReflectionUtilsTest.java
@@ -6,14 +6,15 @@
6
import java.util.Collection;
7
import java.util.function.Predicate;
8
9
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
10
11
import static com.tngtech.archunit.base.Predicates.alwaysTrue;
12
import static com.tngtech.archunit.testutil.ReflectionTestUtils.field;
13
import static com.tngtech.archunit.testutil.ReflectionTestUtils.method;
14
import static org.assertj.core.api.Assertions.assertThat;
15
16
public class ReflectionUtilsTest {
17
+
18
@Test
19
public void getAllFields() {
20
Collection<Field> fields = ReflectionUtils.getAllFields(Child.class, named("field"));
0 commit comments