code: def test_discreteModelGen(self) -> None:
      discrete_model = DiscreteModel()
      with self.assertRaises(NotImplementedError):
          discrete_model.gen(
              n=1,
              parameter_values=[[0, 1]],
              objective_weights=np.array([1]),
          )
  
file_path: Ax/ax/models/tests/test_discrete.py
imports: import numpy
  from ax.models.discrete_base import DiscreteModel
  from ax.utils.common.testutils import TestCase
label_desc: Use image node_id 6 for calling the DiscreteModelTest obj's underlying member method code with example usage: obj.test_discreteModelGen() without return types