Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-2138

MockitoExtension.Bean must implement Prioritized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 8.0.0-M1
    • 8.0.0-M1
    • None
    • None

    Description

      The MockitoExtension.Bean is an Alternative.
      But according to a spec clarifications those manual Beans also need to either get activated via beans.xml or need to implement the Prioritized interface.

      I'd give them a prio of

              @Override
              public int getPriority() {
                  return Interceptor.Priority.PLATFORM_AFTER+1000;
              }
      

      Attachments

        Activity

          People

            struberg Mark Struberg
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: