"<aura:application><aura:attribute name=\"implNumber\" type=\"String\"/>"
+ "<aura:attribute name=\"implNumber\" type=\"String\"/></aura:application>", "myID",
Format.XML);
ApplicationDef ad = parser.parse(descriptor, source);
try {
ad.validateDefinition();
fail("Should have thrown Exception. Two attributes with the same name cannot exist");
} catch (Exception e) {
checkExceptionContains(e, InvalidDefinitionException.class,
"Duplicate definitions for attribute implNumber");
}