Package | Description |
---|---|
org.assertj.core.api |
Modifier and Type | Class and Description |
---|---|
class |
AbstractOptionalAssert<S extends AbstractOptionalAssert<S,T>,T>
Assertions for
Optional . |
Modifier and Type | Class and Description |
---|---|
class |
OptionalAssert<T>
Assertions for
Optional . |
Modifier and Type | Method and Description |
---|---|
<U> AbstractOptionalAssert<?,U> |
AbstractOptionalAssert.flatMap(Function<? super T,Optional<U>> mapper)
Call
flatMap on the Optional under test, assertions chained afterwards are performed on the Optional resulting from the flatMap call. |
<U> AbstractOptionalAssert<?,U> |
AbstractOptionalAssert.map(Function<? super T,? extends U> mapper)
Call
map on the Optional under test, assertions chained afterwards are performed on the Optional resulting from the map call. |
Copyright © 2014–2017 AssertJ. All rights reserved.