def METHOD_NAME(self):
    # Test generation of 1grams to 3gram
    ngrams = text_utils.generate_ngrams_range(self.TOKENS, (1, 4))
    expected_ngrams = self.TOKENS + [
        "this will",
        "will be",
        "be a",
        "a test",
        "test of",
        "of tokens",
        "this will be",
        "will be a",
        "be a test",
        "a test of",
        "test of tokens",
    ]
    self.assertEqual(list(ngrams), expected_ngrams)