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
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
OptionalShouldBePresent
(String format, Object... arguments) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ErrorMessageFactory
shouldBePresent
(com.google.common.base.Optional<T> actual) Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Constructor Details
-
OptionalShouldBePresent
-
-
Method Details
-
shouldBePresent
-