Skip to content

Commit 17f85cd

Browse files
committed
test: add display-name
1 parent 4aede1f commit 17f85cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/java/com/github/nylle/javafixture/SpecimenFactoryTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,15 @@ void buildReturnsCachedValue() {
9393
}
9494

9595
@Nested
96+
@DisplayName("For interfaces")
9697
class Interfaces {
9798

9899
Context context = new Context(Configuration.configure().experimentalInterfaces(true));
99100

100101
@TestWithCases
101102
@TestCase(bool1 = true, class2 = ObjectSpecimen.class)
102103
@TestCase(bool1 = false, class2 = InterfaceSpecimen.class)
104+
@DisplayName("only scans for implementations if experimentalInterfaces is")
103105
void interfaceImplementationsAreOnlySupportedIfExperimentalInterfacesAreEnabled(boolean experimental, Class<?> expected) {
104106
var context = new Context(Configuration.configure().experimentalInterfaces(experimental));
105107

0 commit comments

Comments
 (0)