StreamMergedResult implements MergedResult { @Override public final boolean wasNull() { return wasNull; }  @Override Object getValue(final int columnIndex, final Class<?> type); @Override 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() { QueryResult queryResult = mock(QueryResult.class); streamMergedResult.setCurrentQueryResult(queryResult); assertFalse(streamMergedResult.wasNull()); }