MappingRuleActions { public static MappingRuleAction createRejectAction() { return new RejectAction(); } private  MappingRuleActions(); static MappingRuleAction createUpdateDefaultAction(String queue); static MappingRuleAction createPlaceToQueueAction(
      String queue, boolean allowCreate); static MappingRuleAction createPlaceToDefaultAction(); static MappingRuleAction createRejectAction(); static final String DEFAULT_QUEUE_VARIABLE; }
@Test public void testRejectAction() { VariableContext variables = new VariableContext(); MappingRuleAction reject = new MappingRuleActions.RejectAction(); MappingRuleAction rejectHelper = MappingRuleActions.createRejectAction(); assertRejectResult(reject.execute(variables)); assertRejectResult(rejectHelper.execute(variables)); }