@Test
public void testResizeOnInvalidParams() {

    MirageRequest request = new MirageRequest();
    try {
        request.resize(0, 200);
        Assert.fail("This should throw an error");
    } catch (IllegalArgumentException e) {
        Assert.assertNotNull(e);
    }
    try {
        request.resize(300, 0);
        Assert.fail("This should throw an error");
    } catch (IllegalArgumentException e) {
        Assert.assertNotNull(e);
    }
}