def METHOD_NAME(
        sign_by_default=True, gpg_key=mock.sentinel.gpg_key):
    account = mock.Mock()
    account.sign_by_default = sign_by_default
    account.gpg_key = gpg_key
    account.signature = None
    return account