builder.setDescriptor(DefDescriptorImpl.getInstance(
"java://org.auraframework.impl.renderer.sampleJavaRenderers.TestSimpleRenderer", RendererDef.class));
JavaRendererDef def = builder.build();
try {
def.validateDefinition();
fail("JavaRendererDef cannot be created if interface not implemented.");
} catch (Exception e) {
checkExceptionFull(e, InvalidDefinitionException.class, "Renderer must implement the Renderer interface.");
}
}