Package | Description |
---|---|
org.assertj.core.api |
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractOptionalAssert<SELF extends AbstractOptionalAssert<SELF,VALUE>,VALUE> |
Assertions for
Optional . |
Modifier and Type | Class | Description |
---|---|---|
class |
OptionalAssert<VALUE> |
Assertions for
Optional . |
Modifier and Type | Method | Description |
---|---|---|
<U> AbstractOptionalAssert<?,U> |
AbstractOptionalAssert.flatMap(Function<? super VALUE,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 VALUE,? 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–2019. All rights reserved.