@Test
public void testReshapeRect() throws Exception {

	Rectangle rectangle = new Rectangle(-10, -10, 90, 90);
	int xLimit = 90;
	int yLimit = 90;
	ImageUtils.reshapeRect(rectangle, xLimit, yLimit);
	assertThat(rectangle.getX(), is(0.0));
	assertThat(rectangle.getY(), is(0.0));
	assertThat(rectangle.getWidth(), is(80.0));
	assertThat(rectangle.getHeight(), is(80.0));
}