@API(status=EXPERIMENTAL,
since="1.3.5")
public interface FalsifiedSample
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.lang.Throwable> |
falsifyingError()
The error which resulted in falsifying a property.
|
java.util.List<java.lang.Object> |
parameters()
The actual parameters used when running a property method.
|
java.util.List<Shrinkable<java.lang.Object>> |
shrinkables()
The list of shrinkables that were used to generate the parameters.
|
java.util.List<java.lang.Object> parameters()
If parameters are muted during the run, e.g. elements have been added to a mutable collection, this method returns the muted objects.
java.util.List<Shrinkable<java.lang.Object>> shrinkables()
You can create a fresh, unchanged list of parameter objects through
sample.shrinkables().stream(Shrinkable::value).collect(Collectors.toList())
.
java.util.Optional<java.lang.Throwable> falsifyingError()
Optional.empty()
.