We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4aede1f commit 17f85cdCopy full SHA for 17f85cd
1 file changed
src/test/java/com/github/nylle/javafixture/SpecimenFactoryTest.java
@@ -93,13 +93,15 @@ void buildReturnsCachedValue() {
93
}
94
95
@Nested
96
+ @DisplayName("For interfaces")
97
class Interfaces {
98
99
Context context = new Context(Configuration.configure().experimentalInterfaces(true));
100
101
@TestWithCases
102
@TestCase(bool1 = true, class2 = ObjectSpecimen.class)
103
@TestCase(bool1 = false, class2 = InterfaceSpecimen.class)
104
+ @DisplayName("only scans for implementations if experimentalInterfaces is")
105
void interfaceImplementationsAreOnlySupportedIfExperimentalInterfacesAreEnabled(boolean experimental, Class<?> expected) {
106
var context = new Context(Configuration.configure().experimentalInterfaces(experimental));
107
0 commit comments