classes = new String[] { Object.class.getName(), Cloneable.class.getName(), Serializable.class.getName() };
// lowest service reference
Dictionary dict1 = new Hashtable();
dict1.put(Constants.SERVICE_RANKING, new Integer(Integer.MIN_VALUE));
ref1 = new MockServiceReference(null, dict1, null);
// neutral service reference
Dictionary dict2 = new Hashtable();
dict2.put(Constants.SERVICE_ID, new Long(20));
ref2 = new MockServiceReference(null, dict2, null);
// neutral service reference
Dictionary dict3 = new Hashtable();
dict3.put(Constants.SERVICE_ID, new Long(30));
ref3 = new MockServiceReference(null, dict3, null);
ctrl = MockControl.createStrictControl(BundleContext.class);
context = (BundleContext) ctrl.getMock();
}