Don't shadow setup method name in JUnit because the super's version is
not called.
MODIFY
src/test/java/org/apache/commons/io/serialization/MoreComplexObjectTest.java
src/test/java/org/apache/commons/io/serialization/MoreComplexObjectTest.java
private InputStream inputStream;
private MoreComplexObject original;
- @Override
@BeforeEach
- public void setup() throws IOException {
+ public void setupMoreComplexObject() throws IOException {
original = new MoreComplexObject();
final ByteArrayOutputStream bos = willClose(new ByteArrayOutputStream());
final ObjectOutputStream oos = willClose(new ObjectOutputStream(bos));

MODIFY
src/test/java/org/apache/commons/io/serialization/ValidatingObjectInputStreamTest.java
src/test/java/org/apache/commons/io/serialization/ValidatingObjectInputStreamTest.java
private static final ClassNameMatcher ALWAYS_TRUE = className -> true;
- @Override
@BeforeEach
- public void setup() throws IOException {
+ public void setupMockSerializedClass() throws IOException {
testObject = new MockSerializedClass(UUID.randomUUID().toString());
final ByteArrayOutputStream bos = willClose(new ByteArrayOutputStream());
final ObjectOutputStream oos = willClose(new ObjectOutputStream(bos));

Don't shadow setup method name in JUnit because the super's version is
not called.