public void testNoAttributes() throws Exception {
final List<ServiceRegistryEntry> emptyList = new ArrayList<ServiceRegistryEntry>();
final HashMap<String,?> attributes = new HashMap<String,Object>();
final BasicServiceRegistryEntry ref1 = new StaticServiceRegistryEntry("bean1", "name1", "module", null, attributes, ClassUtils.getDefaultClassLoader());
final BasicServiceRegistryEntry ref2 = new StaticServiceRegistryEntry("bean2", "name2", "module", null, attributes, ClassUtils.getDefaultClassLoader());
emptyList.add(ref1);
emptyList.add(ref2);
expect(serviceRegistry.getServices(filter, null, false)).andReturn(emptyList);