def METHOD_NAME(self):
    linear = {1: -1.3, 4: -0.5, 3: -2.0, 2: 1.0}
    high_order = {(1, 3, 4): -0.6, (1, 2, 4): +0.6}
    exact_sampler = ExactPolySolver()
    response_exact = exact_sampler.sample_hising(linear, high_order)
    gs = response_exact.first.sample
    gse = response_exact.first.energy
    sampler = PolyFixedVariableComposite(ExactPolySolver())
    response = sampler.sample_hising(linear, high_order)
    self.assertIsInstance(response, SampleSet)
    self.assertEqual(response.first.sample, gs)
    self.assertAlmostEqual(response.first.energy, gse)