Package org.jvnet.hk2.testing.junit
package org.jvnet.hk2.testing.junit
-
ClassDescriptionRunner class for having injected services inside of tests using the @RunWith annotation.This class should be extended by test classes in order to get an automatically filled in ServiceLocator.These are other useful test utilities that can be usedAn
ExternalResource
(and aBinder
) that sets up and tears down an HK2ServiceLocator
on a per-test-class or per-test-method basis.Anenum
describing possibleServiceLocator
isolation levels for JUnit tests.