use of org.apache.aries.unittest.mocks.MethodCall in project aries by apache.
the class RecursiveBundleTrackerTest method setup.
@Before
public void setup() {
context = Skeleton.newMock(BundleContext.class);
Skeleton.getSkeleton(context).setReturnValue(new MethodCall(BundleContext.class, "getServiceReference", "org.osgi.service.framework.CompositeBundleFactory"), Skeleton.newMock(ServiceReference.class));
}
Aggregations