In a test class: replace deprecated StringBufferInputStream with a ByteArrayInputStream.
This allows to specify encoding of the source text.
1 file changed