public class TestDelimitedLineRecordReader {
@Test
public void testGetColumnFixedSizeCols() throws IOException {
DelimitedLineRecordReader delimitedLineRecordReader = new DelimitedLineRecordReader();
Text val = new Text("abd,cdd,efd,ghd,ijd,kld");
Text key = delimitedLineRecordReader.getColumn(val, 5, ",");
System.out.println("key is: " + key);
assertEquals(new Text("ijd"), key);
assertEquals(new Text("abd,cdd,efd,ghd,ijd,kld"), val); // checking
// parsed text
// value
}