| Package | Description |
|---|---|
| org.assertj.core.error |
| Modifier and Type | Method and Description |
|---|---|
static OptionalShouldContain |
OptionalShouldContain.shouldContain(Object expectedValue)
Indicates that an
Optional is empty so it doesn't contain the expected value. |
static <T> OptionalShouldContain |
OptionalShouldContain.shouldContain(Optional<T> optional,
T expectedValue)
Indicates that the provided
Optional does not contain the provided argument. |
Copyright © 2014-2015 AssertJ. All Rights Reserved.