def METHOD_NAME(self):
    bt = 0
    bc = espressomd.pair_criteria.BondCriterion(bond_type=bt)
    # Interface
    self.assertEqual(list(bc.get_params().keys()), ["bond_type", ])
    self.assertEqual(bc.get_params()["bond_type"], bt)
    # Decisions
    # No bond yet. Should return false
    self.assertTrue(not bc.decide(self.p1, self.p2))
    self.assertTrue(not bc.decide(self.p1.id, self.p2.id))
    # Add bond. Then the criterion should match
    self.p1.bonds = ((bt, self.p2.id),)
    self.assertTrue(bc.decide(self.p1, self.p2))
    self.assertTrue(bc.decide(self.p1.id, self.p2.id))
    # Place bond on the 2nd particle. The criterion should still match
    self.p1.bonds = ()
    self.p2.bonds = ((bt, self.p1.id),)
    self.assertTrue(bc.decide(self.p1, self.p2))
    self.assertTrue(bc.decide(self.p1.id, self.p2.id))