### Question:
FormatLoader { public static RdfFileFormatSpi getColumnFormt(String protocolName, String columnType) { TypeFormatHolder typeFormatHolder = TYPEFORMATHOLDER_CACHE.get(protocolName); if (null == typeFormatHolder) { synchronized (LOCK) { typeFormatHolder = TYPEFORMATHOLDER_CACHE.get(protocolName); if (null == typeFormatHolder) { typeFormatHolder = loadMapping(protocolName); } } } return typeFormatHolder.getColumnFormat(protocolName, columnType); }  static RdfFileFormatSpi getColumnFormt(String protocolName, String columnType); static final Map<String, TypeFormatHolder> TYPEFORMATHOLDER_CACHE; }### Answer:
@Test public void testFormatLoader() { RdfFileFormatSpi format = FormatLoader.getColumnFormt("de", "String"); Assert.assertEquals(RawFormat.class.getName(), format.getClass().getName()); format = FormatLoader.getColumnFormt("fund", "String"); Assert.assertEquals(CColumnFormat.class.getName(), format.getClass().getName()); format = FormatLoader.getColumnFormt("fund", "string"); Assert.assertEquals(CColumnFormat.class.getName(), format.getClass().getName()); format = FormatLoader.getColumnFormt("fund", "DigitalChar"); Assert.assertEquals(AColumnFormat.class.getName(), format.getClass().getName()); format = FormatLoader.getColumnFormt("fund", "digitalChar"); Assert.assertEquals(AColumnFormat.class.getName(), format.getClass().getName()); format = FormatLoader.getColumnFormt("fund", "digitalchar"); Assert.assertEquals(AColumnFormat.class.getName(), format.getClass().getName()); format = FormatLoader.getColumnFormt("fund", "double"); Assert.assertEquals(NColumnFormat.class.getName(), format.getClass().getName()); format = FormatLoader.getColumnFormt("fund", "Double"); Assert.assertEquals(NColumnFormat.class.getName(), format.getClass().getName()); }