def METHOD_NAME(self):
    # Setup purely repulsive lj
    self.system.non_bonded_inter[0, 0].lennard_jones.set_params(
        sigma=0.11, epsilon=1, cutoff=2**(1. / 6.) * 0.11, shift="auto")
    ec = espressomd.pair_criteria.EnergyCriterion(cut_off=0.001)
    # Interface
    self.assertEqual(list(ec.get_params().keys()), ["cut_off", ])
    self.assertTrue(abs(ec.get_params()["cut_off"] - 0.001) < self.epsilon)
    # Non-periodic system. Particles out of range
    self.system.periodicity = (False, False, False)
    self.assertTrue(not ec.decide(self.p1, self.p2))
    self.assertTrue(not ec.decide(self.p1.id, self.p2.id))