DecoratorMergedResult implements MergedResult { @Override public final boolean wasNull() throws SQLException { return mergedResult.wasNull(); }  @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 assertWasNull() throws SQLException { when(mergedResult.wasNull()).thenReturn(true); assertTrue(decoratorMergedResult.wasNull()); }