Tobias Warneke created NETBEANS-2477:
----------------------------------------
Summary: test global Lookup with junit jupiter using MockServices
Key: NETBEANS-2477
URL: https://issues.apache.org/jira/browse/NETBEANS-2477
Project: NetBeans
Issue Type: Bug
Affects Versions: 8.2
Reporter: Tobias Warneke
To test a global registered service I am using
MockServices.setServices
within my tests. This works fine using *junit 4.x* but fails using *junit
jupiter* with this exception:
_java.lang.NoClassDefFoundError: junit/framework/AssertionFailedError_
Is there a version of MockServices that works with *junit jupiter*?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists