| Modifier and Type | Method and Description |
|---|---|
static <T> Matcher<Optional<T>> |
empty()
Create a matcher for empty
Optional. |
static <T> Matcher<Optional<T>> |
present()
Create a matcher for
Optional having a value. |
static <T> Matcher<Optional<T>> |
value(Matcher<T> valueMatcher)
Create a matcher for the value of the
Optional. |
Copyright © 2022. All rights reserved.