builder.setDescriptor(libDesc);
LibraryDefImpl libraryDef = builder.build();
try {
libraryDef.validateDefinition();
fail("LibraryDef requires an IncludeDef");
} catch (InvalidDefinitionException t) {
assertExceptionMessage(t, InvalidDefinitionException.class,
"aura:library must contain at least one aura:include attribute");
}