Uploaded image for project: 'MyFaces Test'
  1. MyFaces Test
  2. MYFACESTEST-64

MockMethodExpression should throw MethodNotFoundException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.4
    • 1.0.6
    • Mock Objects
    • None

    Description

      MockMethodExpression.invoke() should specifically catch java.lang.NoSuchMethodException and throw javax.el.MethodNotFoundException.

      The current behaviour throws a generic ELException, which is not correctly interpreted.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            gaetanpitteloud Gaetan Pitteloud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: