Package org.assertj.guava.error
Class OptionalShouldBePresent
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.guava.error.OptionalShouldBePresent
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an Optional which should be present is absent
- Author:
- Kornel Kiełczewski, Joel Costigliola
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ErrorMessageFactory
shouldBePresent
(Optional<T> actual) Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldBePresent
-