@Test
public void testSetTooLargePosition() throws Exception {

	thrown.expect(IllegalArgumentException.class);
	thrown.expectMessage("Position out of bounds.");
	stream.setPosition(data.length + 1);
}