DecoratorMergedResult implements MergedResult { @Override public final InputStream getInputStream(final int columnIndex, final String type) throws SQLException { return mergedResult.getInputStream(columnIndex, type); }  @Override final Object getValue(final int columnIndex, final Class<?> type); @Override final Object getCalendarValue(final int columnIndex, final Class<?> type, final Calendar calendar); @Override final InputStream getInputStream(final int columnIndex, final String type); @Override final boolean wasNull();  }
@Test public void assertGetInputStreamWithColumnIndex() throws SQLException { when(mergedResult.getInputStream(1, "ascii")).thenReturn(null); assertNull(decoratorMergedResult.getInputStream(1, "ascii")); }