@Test(expected = GenericRestException.class)
public void testCropAreaOutOfBounds() throws Exception {

	BufferedImage bi = new BufferedImage(100, 200, BufferedImage.TYPE_INT_ARGB);
	manipulator.crop(bi, new ImageManipulationParametersImpl().setRect(1, 1, 400, 400).getRect());
}