EntryLookupControllingMockBundle aBundle = new EntryLookupControllingMockBundle(null);
aBundle.setEntryReturnOnNextCallToGetEntry(null);
bundleContextControl.expectAndReturn(context.getBundle(), aBundle, MockControl.ONE_OR_MORE);
// listen for bundle events
context.addBundleListener(null);
bundleContextControl.setMatcher(MockControl.ALWAYS_MATCHER);
bundleContextControl.setVoidCallable(2);
bundleContextControl.expectAndReturn(context.registerService(new String[0], null, new Properties()),
new MockServiceRegistration(), MockControl.ONE_OR_MORE);