     {:error, :mock_not_found}
   """
   def get_lead(id, opts \\ [])
+
   def get_lead(id = @not_found_id, opts) do
-    send self(), {:closex_mock_client, :get_lead, [id, opts]}
-    {:error, :mock_not_found}
-  end
+    send(self(), {:closex_mock_client, :get_lead, [id, opts]})
+    {:error, :mock_not_found}
+  end
+
   def get_lead(id, opts) do
-    lead = load("lead.json")
-           |> Map.merge(%{"id" => id})
-    send self(), {:closex_mock_client, :get_lead, [id, opts]}
+    lead =
+      load("lead.json")
+      |> Map.merge(%{"id" => id})
+
+    send(self(), {:closex_mock_client, :get_lead, [id, opts]})
     {:ok, lead}
   end
 

  Returns `{:ok, email}`

  ## Examples
  
    > Closex.MockClient.send_email(%{})
    ...contents of test/fixtures/send_email.json...
  """
  def send_email(payload, opts \\ []) do
    email = load("send_email.json")
            |> Map.merge(payload)
    send self(), {:closex_mock_client, :send_email, [payload, opts]}
    {:ok, email}
  end


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

