def METHOD_NAME(self):
    # """
    # Testing that we get a specific solver instance
    # """
    ans = pyomo.opt.SolverFactory("none")
    self.assertTrue(isinstance(ans, UnknownSolver))
    ans = pyomo.opt.SolverFactory("stest")
    self.assertEqual(type(ans), MockSolver)
    ans = pyomo.opt.SolverFactory("stest", name="mymock")
    self.assertEqual(type(ans), MockSolver)
    self.assertEqual(ans.name, "mymock")