     {:error, :mock_not_found}
   """
   def update_opportunity(_opportunity_id, _payload, _opts \\ [])
+
   def update_opportunity(@not_found_id, _payload, _opts) do
     {:error, :mock_not_found}
   end
+
   def update_opportunity(opportunity_id, payload, opts) do
-    opportunity = load("opportunity.json")
-                  |> Map.merge(payload)
-                  |> Map.merge(%{"id" => opportunity_id})
-    send self(), {:closex_mock_client, :update_opportunity, [opportunity_id, payload, opts]}
+    opportunity =
+      load("opportunity.json")
+      |> Map.merge(payload)
+      |> Map.merge(%{"id" => opportunity_id})
+
+    send(self(), {:closex_mock_client, :update_opportunity, [opportunity_id, payload, opts]})
     {:ok, opportunity}
   end
 

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


  Returns `{:ok, opportunity}`

  ## Examples

    > Closex.MockClient.create_opportunity(%{})
    ...contents of test/fixtures/create_opportunity.json...
  """
  def create_opportunity(payload, opts \\ []) do
    opportunity = load("create_opportunity.json")
    send(self(), {:closex_mock_client, :create_opportunity, [payload, opts]})
    {:ok, opportunity}
  end

