MockControl ehControl = newControl(ErrorHandler.class);
ErrorHandler eh = (ErrorHandler) ehControl.getMock();
Log log = LogFactory.getLog(TestRegistryInfrastructureConstructor.class);
SchemaImpl schema = new SchemaImpl();
schema.setId("Baz");
schema.setVisibility(Visibility.PRIVATE);
Location l = newLocation();
eh.error(log, ImplMessages.schemaNotVisible("foo.bar.Baz", "zip.zoop"), l, null);