@BeforeEach
    public void setUp() throws Exception {
        stdout = System.out;
        stderr = System.err;
        resetContent();
    }
reset resourcePrefix
save original System.out and System.err
clear outContent and errContent if they are not empty
set outContent and errContent as System.out and System.err
tika-app/src/test/java/org/apache/tika/cli/TikaCLIAsyncTest.java