@Test(expected = ActionException.class)
public void testHandleServiceException()
        throws Exception {

    Map<String, String> httpParams = new HashMap<>();
    httpParams.put(ActionConstants.KEY_ID, "2");
    ActionParameters params = createActionParams(httpParams, getLoggedInUser());
    handler.handleAction(params);
    fail("Should have thrown exception");
}