AuraJavascriptGroup js = new AuraJavascriptGroup();
try {
// Should be ideally in setup, but this step might have some errors,
// so won't assume its reliable
js.parse();
js.validate();
} catch (RuntimeException e) {
fail("AuraJavascriptGroup failed validation with the following error:" + e.getMessage());
}
}