### Question:
DfaScanner { public List<String> findAll(final String text) { return this.analysis(text, 0, false).getWords(); } 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 testFindAll() { assertTrue(!scanner.findAll("64淘交易宝").isEmpty()); assertTrue(!scanner.findAll("日淘交易宝").isEmpty()); assertTrue(scanner.findAll("出vs售taobao交易").size() == 2); assertTrue(scanner.findAll("交a易TaoBao交易ｔａｏｂａｏ").size() == 2); assertTrue(scanner.findAll("交易TaoooBao交易ｔａｏｂａｏ").size() == 2); assertTrue(scanner.findAll("taobao交易,出售元宝").size() == 2); }
@Test public void testIssuesIr7r1() { assertTrue(!scanner.findAll("今天真是个好日子").isEmpty()); assertTrue(!scanner.findAll("今日天真是个好子").isEmpty()); assertTrue(!scanner.findAll("日今天日真是个好子").isEmpty()); assertTrue(!scanner.findAll("今天真日是个好子日").isEmpty()); }