public class NamespaceMappingsTest extends TestCase {
public void test_01() throws IOException, SAXException {
Smooks smooks = new Smooks(getClass().getResourceAsStream("config-01.xml"));
ExecutionContext execContext = smooks.createExecutionContext();
ApplicationContext appContext = execContext.getContext();
Properties mappings = NamespaceMappings.getMappings(appContext);
assertEquals("http://a", mappings.getProperty("a"));
assertEquals("http://b", mappings.getProperty("b"));
assertEquals("http://c", mappings.getProperty("c"));