assertj-assertions-generator icon indicating copy to clipboard operation
assertj-assertions-generator copied to clipboard

Repeted assertions method returned boolean

Open michalAndrzejKalinowskiEstimate opened this issue 7 years ago • 1 comments

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?

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

joel-costigliola avatar May 20 '18 10:05 joel-costigliola