return pos;
}
private InterStorage getInterStorage(List<String> returnRecords) throws IOException {
InterStorage is = mock(InterStorage.class);
when(is.getInputFormat()).thenReturn(new InterInputFormat());
List<Tuple> tuples = new LinkedList<Tuple>();
for (String record : returnRecords) {
Tuple tup = mock(Tuple.class);
when(tup.toDelimitedString(OutputSampler.DELIMITER)).thenReturn(record);