@Test
public void shouldBeDerivedFromIfSubtypeMatchesPrimaryType() throws Exception {

    assertTrue(this.nodeTypeMgr.isDerivedFrom(SUBTYPES, SUBTYPE2, null));
    assertTrue(this.nodeTypeMgr.isDerivedFrom(SUBTYPES, SUBTYPE2, MIXINS));
}