def METHOD_NAME(self):
    analyzer = get_lucene_analyzer(stemming=False)
    self.assertTrue(isinstance(analyzer, JAnalyzer))
    query = 'information retrieval'
    only_tokenization = JAnalyzerUtils.analyze(analyzer, query)
    token_list = []
    for token in only_tokenization.toArray():
        token_list.append(token)
    self.assertEqual(token_list, ['information', 'retrieval'])