### Question:
KeywordCheckerFactory { public static KeywordChecker getKeywordChecker(String dbType) { if (KEYWORD_CHECKER_MAP.get(dbType) != null) { return KEYWORD_CHECKER_MAP.get(dbType); } KeywordChecker tableMetaCache = EnhancedServiceLoader.load(KeywordChecker.class, dbType); KEYWORD_CHECKER_MAP.putIfAbsent(dbType, tableMetaCache); return tableMetaCache; }  static KeywordChecker getKeywordChecker(String dbType);  }### Answer:
@Test public void testKeywordCheckerFacotry() { KeywordCheckerFactory keywordCheckerFactory = new KeywordCheckerFactory(); Assertions.assertNotNull(keywordCheckerFactory); Assertions.assertThrows(EnhancedServiceNotFoundException.class, () -> KeywordCheckerFactory.getKeywordChecker("unknow")); }