    @Test(expectedExceptions = IllegalArgumentException.class)
    public void testMissingEncoding() throws IOException {

        StreamTool.consume(new ByteArrayInputStream("lolwut".getBytes(UTF8)), null);
    }