Skip to content

Commit 6b963b3

Browse files
authored
Merge pull request #33 from diffblue/ksan/TG-23050_returnValueFactory_InTestsMock
TG-23050 Specifying returnValueFactory for @InTestsMock
2 parents 9286dde + 4b81797 commit 6b963b3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/java/com/diffblue/cover/annotations/InTestsMock.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,10 @@
8181

8282
/** @return String value or values to return from the {@link #method()} */
8383
String[] stringReturnValues() default {};
84+
85+
/**
86+
* @return name of the factory method used to create the object returned by the mocked {@link
87+
* #method()}
88+
*/
89+
String returnValueFactory() default "";
8490
}

0 commit comments

Comments
 (0)