def METHOD_NAME(self):
    interface_instance = type(pyo.SolverFactory('mosek_persistent'))
    alt_1 = pyo.SolverFactory('mosek', solver_io='persistent')
    self.assertIsInstance(alt_1, interface_instance)