assertj-assertions-generator-maven-plugin
assertj-assertions-generator-maven-plugin copied to clipboard
Add option to make the generated SoftAssertions implement AutoCloseable
Would be nice to add an option to make the generated SoftAssertions implement AutoCloseable, like so:
public class SoftAssertions extends org.assertj.core.api.SoftAssertions implements AutoCloseable {
@Override
public void close() {
assertAll();
}
}
Good idea. You know yo can change the template to do so in the meantime.
I... did not know that. I'll look into the docs