Add unit test for our IOUtils, close for Exception missing

Description

the IOUtils class did have unit tests yet, the 2 stream toString methods are not closing the stream on exception.

The unit test includes the exception close test and the close is now done in a finally block

Assignee

Unassigned

Reporter

Alexander Lehmann

Labels

None

Components

Fix versions

Affects versions

Priority

Minor
Configure