class_docstr: Test DecisionBoundariesVisualizer
class_docstr_tok: ["Test","DecisionBoundariesVisualizer"]
docstr: Test fit with class labels specified
docstr_tok: ["Test","fit","with","class","labels","specified"]
code: def test_fit_class_labels(self):
      """
      Test fit with class labels specified
      """
      model = neighbors.KNeighborsClassifier(3)
      viz = DecisionBoundariesVisualizer(
          model, classes=["one", "two", "three", "four"]
      )
      fitted_viz = viz.fit(X_two_cols, y=y)
      assert fitted_viz.classes_ == {
          "three": "2",
          "four": "3",
          "two": "1",
          "one": "0",
      }
  
imports: import sys
  import pytest
  import numpy
  from unittest import mock
  from tests.base import VisualTestCase
  from yellowbrick.contrib.classifier import *
  from yellowbrick.exceptions import YellowbrickTypeError
  from yellowbrick.exceptions import YellowbrickValueError
  from sklearn import datasets
  from sklearn import neighbors
  from sklearn import naive_bayes
label_desc: Use image node_id 6 for calling the TestDecisionBoundariesVisualizer obj's underlying member method code with example usage: obj.test_fit_class_labels() without return types