fail("Should not be able to create an instance of the client action on the server side");
} catch (Exception e) {// Expect a definition not found Exception
checkExceptionFull(e, DefinitionNotFoundException.class,
"No ACTION named js://test.testJSController/ACTION$newAction found");
}
JavascriptPseudoAction action = (JavascriptPseudoAction) obj.createAction("functionName1", null);
assertEquals(State.ERROR, action.getState());
// 2.3 Extract the action defs and verify each of them in Step 3
// Get all the actions defined in the Javascript
Map<String, JavascriptActionDef> controllerActions = obj
.getActionDefs();