@Test
public void testSeek_shx() throws Exception {

	AbstractShapeFileReader<Integer> reader = createShx();
	
	reader.seek(0);
	assertEquals(Integer.valueOf(5), reader.read());
	reader.seek(1);
	assertEquals(Integer.valueOf(8), reader.read());
	reader.seek(2);
	assertEquals(Integer.valueOf(5), reader.read());
	try {
		reader.seek(1000);
		fail("EOFException was expected"); //$NON-NLS-1$
	}
	catch(EOFException exception) {
		//Expected exception
	}
}