* Ensure that an action must be public. Currently, we do not actualy process non-public members. This is due to a
* limitation in the way java returns methods. If we do want to do this, we'd have to process all methods in a
* rather complex way (walking up the class hierarchy).
*/
public void testProtectedAction() throws Exception {
ControllerDef cont = getJavaController("java://org.auraframework.impl.java.controller.TestControllerWithProtectedAction");
assertNotNull("could not find controller", cont);
assertNull("should not have appendStrings", cont.getActionDefs().get("appendStrings"));
assertNull("should not have doSomething", cont.getActionDefs().get("doSomething"));
assertEquals("should have one method", 1, cont.getActionDefs().size());
assertNotNull("should have doNothing", cont.getActionDefs().get("doNothing"));
}