Path compPath = actb.getComponentsPath();
String ns = actb.getNewNamespace();
// deliberate missing component
actb.getNewObject(ns, ComponentDef.class, "<aura;component><aura:IDontExistReallyReally /></aura:component>");
actb.installComponentLocationAdapter();
RegistrySerializer rs = new RegistrySerializer(compPath.toFile(), compPath.toFile(), null, logger);
try {
rs.execute();
fail("We should fail to execute with an error");
} catch (RegistrySerializerException mee) {
assertEquals("one or more errors occurred during compile", mee.getMessage());