@SuppressWarnings("deprecation")
        public Iterable<Token> tokenize(String input, Language language, StemMode stemMode, boolean removeAccents) {
            var token = new SimpleToken("the only token", "the only token");
            token.setType(TokenType.ALPHABETIC);
            return List.of(token);
        }
Verifies an observed pattern of subclassing OpenNlpLinguistics.
opennlp-linguistics/src/test/java/com/yahoo/language/opennlp/OpenNlpLinguisticsSubclassingTest.java