* Helper method to create a mock component context
*/
protected ComponentContext createMultipleAdaptersComponentContext(final ServiceReference firstServiceReference, final ServiceReference secondServiceReference) throws Exception {
final BundleContext bundleCtx = this.context.mock(BundleContext.class);
final Filter filter = this.context.mock(Filter.class);
final ComponentContext ctx = this.context.mock(ComponentContext.class);
this.context.checking(new Expectations() {{
allowing(ctx).locateService(with(any(String.class)), with(firstServiceReference));
will(returnValue(new FirstImplementationAdapterFactory()));
allowing(ctx).locateService(with(any(String.class)), with(secondServiceReference));
will(returnValue(new SecondImplementationAdapterFactory()));