Assert.assertNull(ActionManager.getAction("junk", contextImpl));
ActionManager.unregisterAction(TestContextAwareAction.class, actionKey);
Assert.assertNull(ActionManager.getAction(actionKey, contextImpl));
// add the action and deregister it
ContextAwareAction action = null;
ActionManager.registerAction(TestContextAwareAction.class,actionKey);
Assert.assertNotNull(action = ActionManager.getAction(actionKey, contextImpl));
ActionManager.deregisterAction(action);
}