def METHOD_NAME(self, mock_setup_jobs):
    packages = ['vim']
    problem = Mock()
    problem.id = 42
    info = Mock()
    info.problemstr = Mock(
        return_value='some-problem'
    )
    findproblemrule = Mock()
    findproblemrule.info = Mock(
        return_value=info
    )
    problem.findproblemrule.return_value = findproblemrule
    option = Mock()
    option.str = Mock(
        return_value='some-option'
    )
    solution = Mock()
    solution.id = 42
    solution.elements = Mock(
        return_value=[option]
    )
    problem.solutions.return_value = [solution]
    self.solver.solve = Mock(
        return_value=[problem]
    )
    with raises(KiwiSatSolverJobProblems):
        self.sat.solve(packages)