public class OptionalShouldBePresent extends BasicErrorMessageFactory
Optional.arguments, format| Modifier and Type | Method and Description |
|---|---|
static OptionalShouldBePresent |
shouldBePresent(Object optional)
Indicates that a value should be present in an empty
Optional. |
create, create, create, equals, hashCode, toString, unquotedStringpublic static OptionalShouldBePresent shouldBePresent(Object optional)
Optional.optional - the optional instanceNullPointerException - if optional is null.Copyright © 2014–2018 AssertJ. All rights reserved.