@Test
public void getNamespacePrefix() {

    String systemTmpDir = System.getProperty("java.io.tmpdir");
    File f = new File(systemTmpDir + "/org.eclipse.winery.test/namespace.json");
    f.delete();
    JsonBasedNamespaceManager namespaceManager = new JsonBasedNamespaceManager(f);
    String prefix = namespaceManager.getPrefix(Namespaces.TOSCA_WINERY_EXTENSIONS_NAMESPACE);
    
    assertEquals("winery", prefix);
    assertFalse(f.exists());
}