### Question:
SchemaComponentFactory { public static SchemaFactory getSchemaFactory() { return SchemaFactoryImpl.INSTANCE; }  static SchemaResolver getSchemaResolver(); static SchemaFactory getSchemaFactory();  }### Answer:
@Test public void testGetSchemaFactory() { final SchemaFactory factory = SchemaComponentFactory.getSchemaFactory(); assertNotNull("Returned schema factory is null.", factory); assertSame("Unexpected schema factory.", SchemaFactoryImpl.INSTANCE, factory); }