org.mockito.internal.util
public final class JavaEightUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Object |
emptyOptional()
Creates an empty Optional using reflection to stay backwards-compatible with older
JDKs (see issue 191).
|
static Object |
emptyStream()
Creates an empty Stream using reflection to stay backwards-compatible with older
JDKs.
|
public static Object emptyOptional()
public static Object emptyStream()