* defined as private in another module.
*/
public void testSchemaNotVisible()
{
MockControl ehControl = newControl(ErrorHandler.class);
ErrorHandler errorHandler = (ErrorHandler) ehControl.getMock();
Log log = LogFactory.getLog(XmlExtensionResolver.class);
SchemaImpl schema = new SchemaImpl("foo.bar");
schema.setId("Baz");
schema.setVisibility(Visibility.PRIVATE);
RegistryDefinition definition = new RegistryDefinitionImpl();
Location l = newLocation();
errorHandler.error(
log,
XmlImplMessages.schemaNotVisible("foo.bar.Baz", "zip.zoop"),
l,
null);