@Test
public void testGetModuleNameFromNameSpace() {

    String moduleName = configuration.getModuleNameFromNameSpace(
            "urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test:cars");
    assertEquals("getModuleNameFromNameSpace", "cars", moduleName);
    moduleName = configuration.getModuleNameFromNameSpace(
            "urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test");
    assertEquals("getModuleNameFromNameSpace", "test", moduleName);
    moduleName = configuration.getModuleNameFromNameSpace("non-existent");
    assertNull("getModuleNameFromNameSpace - expected null", moduleName);
}