bundleControl.setReturnValue(props);
bundleContextControl.replay();
bundleControl.replay();
BeanNameServicePropertiesResolver resolver = new BeanNameServicePropertiesResolver();
resolver.setBundleContext(mockContext);
Map ret = resolver.getServiceProperties("myBean");
bundleControl.verify();
bundleContextControl.verify();
assertEquals("3 properties",3,ret.size());