def METHOD_NAME(self):
    from stig.client.ttypes import TorrentFilePriority
    self.check_filter(FileFilter,
                      filter_names=('priority', 'prio'),
                      items=({'id': 1, 'priority': TorrentFilePriority(-2)},  # off
                             {'id': 2, 'priority': TorrentFilePriority(-1)},  # low
                             {'id': 3, 'priority': TorrentFilePriority(0)},   # normal
                             {'id': 4, 'priority': TorrentFilePriority(1)}),  # high
                      test_cases=(('{name}', (1, 2, 4)),
                                  ('!{name}', (3,)),
                                  ('{name}=low', (2,)),
                                  ('{name}<low', (1,)),
                                  ('{name}<=low', (1, 2)),
                                  ('{name}>low', (3, 4)),
                                  ('{name}>=low', (2, 3, 4))))