@Test
public void testIsExtending() {

    Definition definition = new Definition();
    definition.setName("myDefinition");
    assertFalse(definition.isExtending());
    definition.setExtends("myExtends");
    assertTrue(definition.isExtending());
}