// set up the mock filter behaviour
Dictionary<String, Object> d1 = new Hashtable<String, Object>();
d1.put("blah", "5");
d1.put("osgi.remote.service.interfaces",
Arrays.asList("SomeOtherService", "WithSomeSecondInterface"));
EasyMock.expect(mockFilter.match(d1)).andReturn(true).anyTimes();
Dictionary<String, Object> d2 = new Hashtable<String, Object>();
d2.put("blah", "3");
d2.put("boo", "hello");
d2.put("osgi.remote.service.interfaces",
Arrays.asList("org.example.SomeRelatedService", "org.example.SomeService"));