@Test(expected=IllegalArgumentException.class)
public void testValidateResize() {

	TesseractOCRConfig config = new TesseractOCRConfig();
	config.setResize(200);
	config.setResize(400);
	assertTrue("Couldn't set valid values", true);
	config.setResize(1000);
}