   Returns `{:ok, lead}`
 
   ## Examples
-  
+
     > Closex.MockClient.create_lead(%{})
     ...contents of test/fixtures/create_lead.json...
   """
   def create_lead(payload, opts \\ []) do
     lead = load("create_lead.json")
-    send self(), {:closex_mock_client, :create_lead, [payload, opts]}
+    send(self(), {:closex_mock_client, :create_lead, [payload, opts]})
     {:ok, lead}
   end
 

  """
  def get_lead_statuses(opts \\ []) do
    lead_statuses = load("lead_statuses.json")
    send self(), {:closex_mock_client, :get_lead_statuses, [opts]}
    {:ok, lead_statuses}
  end


    {:error, :mock_not_found}
  """
  def get_organization(id, opts \\ [])

  def get_organization(id = @not_found_id, opts) do
    send(self(), {:closex_mock_client, :get_organization, [id, opts]})
    {:error, :mock_not_found}
  end

  def get_organization(id, opts) do
    organization =
      load("organization.json")
      |> Map.merge(%{"id" => id})

    send(self(), {:closex_mock_client, :get_organization, [id, opts]})
    {:ok, organization}
  end

