def test_find_single_pattern_in_descendants(self):
     pattern = PatternConstructor.single_node('declaration')
     result = self.matcher.find_pattern_in_tree(self.tree, pattern)
     assert len(result) == 3