@Test(expected = IllegalArgumentException.class)
public void readOnlyJpegImageNullColorSpace() throws IOException {

    ReadOnlyFilteredCOSStream.readOnlyJpegImage(folder.newFile(), 10, 10, 1, null);
}