code: def test_classify_instance_all(
      competences, expected, create_pool_classifiers
  ):
      query = np.array([-1, 1])
      pool_classifiers = create_pool_classifiers
      dcs_test = BaseDCS(pool_classifiers, selection_method="all")
      dcs_test.estimate_competence = MagicMock(
          return_value=np.array(competences)
      )
  
      predictions = []
      for clf in dcs_test.pool_classifiers:
          predictions.append(clf.predict(query)[0])
      predicted_label = dcs_test.classify_with_ds(np.array(predictions))
      assert predicted_label == expected
  
imports: from unittest.mock import MagicMock
  import numpy
  import pytest
  from deslib.dcs.base import BaseDCS
label_desc: Use image node_id 15 for calling a global function with example usage: test_classify_instance_all(competences, expected, create_pool_classifiers) without return types