Mark Struberg created TOMEE-2138: ------------------------------------ Summary: MockitoExtension.Bean must implement Prioritized Key: TOMEE-2138 URL: https://issues.apache.org/jira/browse/TOMEE-2138 Project: TomEE Issue Type: Bug Affects Versions: 8.0.0 Reporter: Mark Struberg Assignee: Mark Struberg Fix For: 8.0.0
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 {code} @Override public int getPriority() { return Interceptor.Priority.PLATFORM_AFTER+1000; } {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)