@Test
void testOutputStreamClosed() throws IOException
{

    final OutputStream outputStreamMock = mock(OutputStream.class);
    final ReportSettings settings = ReportSettings.builder().verbosity(ReportVerbosity.SUMMARY)
            .build();
    new PlainTextReport(this.traceMock, settings).renderToStream(outputStreamMock);
    verify(outputStreamMock).close();
}