@Test
public void testReadEmptyStream() throws IOException {

    // DROOLS-971
    byte[] bytes = IoUtils.readBytesFromInputStream( new ReaderInputStream( new StringReader( "" ) ) );
    assertEquals(0, bytes.length);
}