def METHOD_NAME(self):
    self.state.return_value.exists.return_value = False
    integ.run(True)
    self.get_encrypted_credentials.assert_called_once()
    self.do_exit.assert_not_called()
    self.smtpclient.return_value.send_mail.assert_not_called()
    self.state.return_value.add.assert_not_called()