MemoryMergedResult implements MergedResult { @Override public final boolean next() { if (memoryResultSetRows.hasNext()) { currentResultSetRow = memoryResultSetRows.next(); return true; } return false; } protected  MemoryMergedResult(final T rule, final SchemaMetaData schemaMetaData, final SQLStatementContext sqlStatementContext, final List<QueryResult> queryResults); @Override final boolean next(); @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 assertNext() { assertTrue(memoryMergedResult.next()); assertFalse(memoryMergedResult.next()); }