Skip to content

Add a get() method to the assertions on Option<T> #16

@rcardin

Description

@rcardin

Taking as an example the assertj core library, add a get() method to the AbstractOptionAssert class. The method will return an AbstractObjectAssert if the Option is not empty.

In this way, all the assertions available on objects will also be public, having an Option<T> as a starting point.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions