CompactSyntaxSchemaFactory extends SchemaFactoryImpl { public boolean isSchemaLanguageSupported(String schemaLanguage) { return schemaLanguage.equals(SCHEMA_LANGUAGE); }  boolean isSchemaLanguageSupported(String schemaLanguage); static final public String SCHEMA_LANGUAGE; }
@Test public void testIsSchemaLanguageSupported() { Assert.assertFalse(factory().isSchemaLanguageSupported(XMLSyntaxSchemaFactory.SCHEMA_LANGUAGE)); Assert.assertTrue(factory().isSchemaLanguageSupported(CompactSyntaxSchemaFactory.SCHEMA_LANGUAGE)); }