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. |
static OptionalShouldContain |
OptionalShouldContain.shouldContain(OptionalDouble optional,
double expectedValue)
Indicates that the provided
OptionalDouble does not contain the provided argument. |
static OptionalShouldContain |
OptionalShouldContain.shouldContain(OptionalInt optional,
int expectedValue)
Indicates that the provided
OptionalInt does not contain the provided argument. |
static OptionalShouldContain |
OptionalShouldContain.shouldContain(OptionalLong optional,
long expectedValue)
Indicates that the provided
OptionalLong does not contain the provided argument. |
static <T> OptionalShouldContain |
OptionalShouldContain.shouldContainSame(Optional<T> optional,
T expectedValue)
Indicates that the provided
Optional does not contain the provided argument (judging by reference
equality). |
Copyright © 2014-2015 AssertJ. All Rights Reserved.