VerticaInputSplit input = getVerticaSplit(false);
VerticaRecordReader reader = new VerticaRecordReader(input, input
.getConfiguration());
TaskAttemptContext context = new TaskAttemptContextImpl(input
.getConfiguration(), new TaskAttemptID());
reader.initialize(input, context);
boolean hasValue = reader.nextKeyValue();
assertEquals("There should be a record in the database", hasValue, true);
LongWritable key = reader.getCurrentKey();