@Test public void testXmlParseBlobWithEncoding() throws Exception {
String sql = "select xmlparse(document cast(? as blob)) x"; //$NON-NLS-1$
List[] expected = new List[] {
Arrays.asList(ObjectConverterUtil.convertToString(new InputStreamReader(new FileInputStream(UnitTestUtil.getTestDataFile("encoding.xml")), Charset.forName("ISO-8859-1")))),
};
processPreparedStatement(sql, expected, dataManager, new DefaultCapabilitiesFinder(), FakeMetadataFactory.example1Cached(), Arrays.asList(blobFromFile("encoding.xml")));
}