### Question:
DfaScanner { public boolean contains(final String text) { return this.analysis(text, 1, false).isExist(); } DfaScanner(List<String> sensitivewords);  DfaScanner(String symbols, List<String> sensitivewords); boolean contains(final String text); String replace(final String text); Optional<String> find(final String text); List<String> findAll(final String text);  }### Answer:
@Test public void testContains() { assertTrue(scanner.contains("淘64宝64交64易")); assertTrue(scanner.contains("淘宝交易")); assertTrue(scanner.contains("taobao交易")); assertTrue(scanner.contains("TaoBao交易")); assertTrue(scanner.contains("ｔａｏｂａｏ交易")); assertTrue(scanner.contains("TａｏBａｏ交易")); assertTrue(scanner.contains("TTTTａａｏｏBBａａｏｏｏｏ交易")); assertTrue(scanner.contains("TａｏBａｏ交易")); }