public static class Functions.FunctionWrapper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
<F,R> FunctionArbitrary<F,R> |
returns(Arbitrary<R> resultArbitrary)
Create an arbitrary to create instances of functions represented by this wrapper.
|
public <F,R> FunctionArbitrary<F,R> returns(Arbitrary<R> resultArbitrary)
F
- The exact functional type to generateR
- The return type of the functional interfaceresultArbitrary
- The arbitrary used to generate return values