@Test
public void testOpen() throws IOException {

	final String myString = "my mocked line 1\nmy mocked line 2\n";
	final FileInputSplit split = createTempFile(myString);
	
	int bufferSize = 5;
	format.setBufferSize(bufferSize);
	format.open(split);
	assertEquals(0, format.splitStart);
	assertEquals(myString.length() - bufferSize, format.splitLength);
	assertEquals(bufferSize, format.getBufferSize());
}