def METHOD_NAME(self, mock_run):
    mock_run.return_value.output = ''
    mock_run.return_value.error = ''
    with raises(KiwiCommandCapabilitiesError):
        CommandCapabilities.has_option_in_help(
            'command_that_fails', '--non-existing-flag'
        )