Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assert of optionals #6

Open
danon opened this issue Apr 10, 2019 · 3 comments
Open

Assert of optionals #6

danon opened this issue Apr 10, 2019 · 3 comments

Comments

@danon
Copy link

danon commented Apr 10, 2019

// when
Optional<String> optional = get();

// then
assertThat(optional).isPresent();

We could really, really use this

@jschneider
Copy link
Collaborator

I think fest-assert is no longer developed. Take a look at http://joel-costigliola.github.io/assertj/ which is the successor

@danon
Copy link
Author

danon commented Apr 10, 2019

Man! Thank your for your supersonic response!

Is this the same library continued? Or is this written again completely from scratch?

@jschneider
Copy link
Collaborator

I am not too sure. But I strongly suggest to convert asap. It is worth it.
Most ideas are the same. So it shouldn't be too much work:

http://joel-costigliola.github.io/assertj/assertj-core-migrating-from-fest.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants