testDependencyDef = vendor.makeDependencyDef(vendor.makeComponentDefDescriptor("hi"),
"markup://aura:application", "COMPONENT", vendor.makeLocation("f1", 5, 5, 0));
deps.clear();
testDependencyDef.appendDependencies(deps);
try {
testDependencyDef.validateReferences();
fail("Exception not thrown when dependency resource is valid but is of wrong type");
} catch (Exception e) {
checkExceptionFull(e, InvalidDefinitionException.class,
"Invalid dependency markup://aura:application[COMPONENT]", "f1");
}