def METHOD_NAME(self):
    self.check_bool_filter(PeerFilter,
                           filter_names=('uploading', 'upg'),
                           items=({'id': 1, 'rate-up': 1000},
                                  {'id': 2, 'rate-up': 2000},
                                  {'id': 3, 'rate-up': 0}),
                           test_cases=(('{name}', (1, 2)),
                                       ('!{name}', (3,))))