Package org.assertj.guava.error
Class OptionalShouldBePresentWithValue
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.guava.error.OptionalShouldBePresentWithValue
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an Optional should contain an expected value
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
OptionalShouldBePresentWithValue
(String format, Object... arguments) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ErrorMessageFactory
shouldBePresentWithValue
(com.google.common.base.Optional<T> actual, Object value) static <T> ErrorMessageFactory
shouldBePresentWithValue
(Object value) Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Constructor Details
-
OptionalShouldBePresentWithValue
-
-
Method Details
-
shouldBePresentWithValue
public static <T> ErrorMessageFactory shouldBePresentWithValue(com.google.common.base.Optional<T> actual, Object value) -
shouldBePresentWithValue
-