Uses of Class
org.assertj.core.error.OptionalShouldContain
Packages that use OptionalShouldContain
-
Uses of OptionalShouldContain in org.assertj.core.error
Methods in org.assertj.core.error that return OptionalShouldContainModifier and TypeMethodDescriptionstatic OptionalShouldContain
OptionalShouldContain.shouldContain
(Object expectedValue) Indicates that anOptional
is empty so it doesn't contain the expected value.static <VALUE> OptionalShouldContain
OptionalShouldContain.shouldContain
(Optional<VALUE> optional, VALUE expectedValue) Indicates that the providedOptional
does not contain the provided argument.static OptionalShouldContain
OptionalShouldContain.shouldContain
(OptionalDouble optional, double expectedValue) Indicates that the providedOptionalDouble
does not contain the provided argument.static OptionalShouldContain
OptionalShouldContain.shouldContain
(OptionalInt optional, int expectedValue) Indicates that the providedOptionalInt
does not contain the provided argument.static OptionalShouldContain
OptionalShouldContain.shouldContain
(OptionalLong optional, long expectedValue) Indicates that the providedOptionalLong
does not contain the provided argument.static <VALUE> OptionalShouldContain
OptionalShouldContain.shouldContainSame
(Optional<VALUE> optional, VALUE expectedValue) Indicates that the providedOptional
does not contain the provided argument (judging by reference equality).