@Test(expected = NoSuchDefinitionException.class)
public void testResolveInheritanceNoParent() {

    Definition definition = new Definition("mydef", null, null);
    definition.setExtends("otherDef");
    definitionDao.resolveInheritance(definition, new HashMap<String, Definition>(), Locale.ITALY,
            new HashSet<String>());
}