| Lets you register mock implementations of global services.
You might for example do this in
junit.framework.TestCase.setUp .
If you need to register individual instances, and are using the Lookup
framework, try org.openide.util.test.MockLookup .
See Also: Lookup See Also: ServiceLoader since: org.netbeans.modules.nbjunit/1 1.30 author: Jesse Glick, Jaroslav Tulach |