@Test
@SuppressWarnings("rawtypes")
public void testLoadObjects() throws Exception {

    JVoiceXmlConfiguration config = new JVoiceXmlConfiguration();
    final Collection<ResourceFactory> factories =
        config.loadObjects(ResourceFactory.class, "implementation");
    Assert.assertEquals(1, factories.size());
    final ResourceFactory factory = factories.iterator().next();
    Assert.assertEquals(DesktopTelephonySupportFactory.class,
            factory.getClass());
}