@Test public void testBackquoteWorksWithDifferentOrders() { String source = "Check `shared_item` and `collaborators`."; String target = "Vink `collaborators` en `shared_item` aan."; checker.check(source, target); }
@Override public void check(String sourceContent, String targetContent) throws BackquoteIntegrityCheckerException { try { super.check(sourceContent, targetContent); } catch (RegexCheckerException rce) { throw new BackquoteIntegrityCheckerException((rce.getMessage())); } }
BackquoteIntegrityChecker extends RegexIntegrityChecker { @Override public void check(String sourceContent, String targetContent) throws BackquoteIntegrityCheckerException { try { super.check(sourceContent, targetContent); } catch (RegexCheckerException rce) { throw new BackquoteIntegrityCheckerException((rce.getMessage())); } } }
BackquoteIntegrityChecker extends RegexIntegrityChecker { @Override public void check(String sourceContent, String targetContent) throws BackquoteIntegrityCheckerException { try { super.check(sourceContent, targetContent); } catch (RegexCheckerException rce) { throw new BackquoteIntegrityCheckerException((rce.getMessage())); } }  }
BackquoteIntegrityChecker extends RegexIntegrityChecker { @Override public void check(String sourceContent, String targetContent) throws BackquoteIntegrityCheckerException { try { super.check(sourceContent, targetContent); } catch (RegexCheckerException rce) { throw new BackquoteIntegrityCheckerException((rce.getMessage())); } }  @Override String getRegex(); @Override void check(String sourceContent, String targetContent); }
BackquoteIntegrityChecker extends RegexIntegrityChecker { @Override public void check(String sourceContent, String targetContent) throws BackquoteIntegrityCheckerException { try { super.check(sourceContent, targetContent); } catch (RegexCheckerException rce) { throw new BackquoteIntegrityCheckerException((rce.getMessage())); } }  @Override String getRegex(); @Override void check(String sourceContent, String targetContent);  }