     end
   end
 
-
   def with_fixture(:get, response, fun),    do: with_fixture({:get,    fn(_url) -> response end}, fun)
   def with_fixture(:post, response, fun),   do: with_fixture({:post,   fn(_url, _options) -> response end}, fun)
   def with_fixture(:delete, response, fun), do: with_fixture({:delete, fn(_url) -> response end}, fun)

    end
  end

  def with_list_fixture(fun) do
    data = %{
      "api_test/resources" => [

defmodule ExTwilio.ApiTest do
  use ExUnit.Case, async: false
  alias ExTwilio.Api
  alias ExTwilio.Config
  import Mock

  defmodule Resource do
