    @Test
    public void shouldReadToString() throws IOException {

        final InputStream is = new ByteArrayInputStream("foo".getBytes(StandardCharsets.UTF_8));
        assertThat("foo").isEqualTo(StreamUtil.toString(is, "UTF-8"));
    }