DecoratorMergedResult implements MergedResult { @Override public final Object getValue(final int columnIndex, final Class<?> type) throws SQLException { return mergedResult.getValue(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 assertGetValueWithColumnIndex() throws SQLException { when(mergedResult.getValue(1, Object.class)).thenReturn("1"); assertThat(decoratorMergedResult.getValue(1, Object.class).toString(), is("1")); }