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 OptionalShouldContainOptionalShouldContain.shouldContain(Object expectedValue) Indicates that anOptionalis empty so it doesn't contain the expected value.static <VALUE> OptionalShouldContainOptionalShouldContain.shouldContain(Optional<VALUE> optional, VALUE expectedValue) Indicates that the providedOptionaldoes not contain the provided argument.static OptionalShouldContainOptionalShouldContain.shouldContain(OptionalDouble optional, double expectedValue) Indicates that the providedOptionalDoubledoes not contain the provided argument.static OptionalShouldContainOptionalShouldContain.shouldContain(OptionalInt optional, int expectedValue) Indicates that the providedOptionalIntdoes not contain the provided argument.static OptionalShouldContainOptionalShouldContain.shouldContain(OptionalLong optional, long expectedValue) Indicates that the providedOptionalLongdoes not contain the provided argument.static <VALUE> OptionalShouldContainOptionalShouldContain.shouldContainSame(Optional<VALUE> optional, VALUE expectedValue) Indicates that the providedOptionaldoes not contain the provided argument (judging by reference equality).