@Test
void convertToExtensionAllowedOnRoot() throws SecurityException
{

    Model model = new Model();
    model.setGroupId("groupid");
    model.setArtifactId("artifactid");
    model.setVersion("version");
    model.addProperty(Extension.IKEYPREFIX + Extension.FIELD_NAMESPACES, "{root}");
    Extension extension = this.converter.convert(Extension.class, model);
    assertEquals(Arrays.asList("{root}"), new ArrayList<>(extension.getAllowedNamespaces()));
}