@Test
public void badParameterCategoryTest() throws Exception {

    try {
        updateCategoryController.exec(42, null);
    } catch (Throwable e) {
        // Should complain of a missing parameter "name"
        assertTrue(e.getClass().toString(), e instanceof MissingParameterEx);
    }
}