SingleLocalDataMergedResult implements MergedResult { @Override public InputStream getInputStream(final int columnIndex, final String type) throws SQLException { throw new SQLFeatureNotSupportedException("getInputStream"); } SingleLocalDataMergedResult(final Collection<Object> values); @Override boolean next(); @Override Object getValue(final int columnIndex, final Class<?> type); @Override Object getCalendarValue(final int columnIndex, final Class<?> type, final Calendar calendar); @Override InputStream getInputStream(final int columnIndex, final String type); @Override boolean wasNull();  }
@Test(expected = SQLFeatureNotSupportedException.class) public void assertGetInputStream() throws SQLException { SingleLocalDataMergedResult actual = new SingleLocalDataMergedResult(Collections.singleton("value")); actual.getInputStream(1, "Ascii"); }