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

Repeted assertions method returned boolean #124

Open
michalAndrzejKalinowskiEstimate opened this issue Feb 28, 2018 · 1 comment
Open

Repeted assertions method returned boolean #124

michalAndrzejKalinowskiEstimate opened this issue Feb 28, 2018 · 1 comment

Comments

@michalAndrzejKalinowskiEstimate

I have domain class with property boolean versioned. I have two method
public boolean isVersioned() {return versioned;}
public boolean isNotVersioned() {return !versioned;}

unfortunatelly assertj-assertions-generator-maven-plugin v. 2.0.0 creates isVersioned and isnotVersioned twice in Assert class.
How to configure plugin to prevent from duplication?

@joel-costigliola
Copy link
Member

@michalAndrzejKalinowskiEstimate this bug has been addressed in BaseAssertionGenerator, can you check in you use the latest version?

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