def METHOD_NAME(self):
    perm_tester = PermutationTest(self.create_hyperpipe_no_mongo, n_perms=2, n_processes=1, random_state=11,
                                  permutation_id=str(uuid.uuid4()))
    with self.assertRaises(ValueError):
        perm_tester.fit(self.X, self.y)