Collections.enumeration(Arrays.asList(rs1URL, rs2URL))).anyTimes();
EasyMock.replay(b);
List<Element> rsElements = OsgiUtils.getAllDescriptionElements(b);
assertEquals(3, rsElements.size());
Namespace ns = Namespace.getNamespace("http://www.osgi.org/xmlns/sd/v1.0.0");
assertEquals("SomeService", rsElements.get(0).getChild("provide", ns).getAttributeValue("interface"));
assertEquals("SomeOtherService", rsElements.get(1).getChild("provide", ns).getAttributeValue("interface"));
assertEquals("org.example.Service", rsElements.get(2).getChild("provide", ns).getAttributeValue("interface"));
}