def METHOD_NAME(self):
    wizard = InstallJuliaWizard(self._settings_widget)
    wizard.restart()
    self.assertEqual("Welcome", wizard.currentPage().title())
    wizard.next()
    self.assertEqual("Select directories", wizard.currentPage().title())
    self.assertTrue(wizard.currentPage().isCommitPage())
    self.assertEqual("Install Julia", wizard.currentPage().buttonText(QWizard.WizardButton.CommitButton))
    wizard.set_julia_exe = mock_set_julia_exe = mock.Mock()
    with mock.patch("spinetoolbox.execution_managers.QProcess") as MockQProcess:
        MockQProcess.return_value = MockInstantQProcess(finished_args=(-1, MockQProcess.NormalExit))
        wizard.next()
    mock_set_julia_exe.assert_not_called()
    wizard.next()
    self.assertEqual("Installation failed", wizard.currentPage().title())
    self.assertTrue(wizard.currentPage().isFinalPage())
    wizard.julia_exe_selected = mock.Mock()
    wizard.accept()
    wizard.julia_exe_selected.emit.assert_not_called()