     base_64_encoded = Base.encode64("#{username}:#{password}")
     assert base_64_encoded == "QXV0aDpUZXN0"
 
-    request = BasicClientPlugOptions.get("/basic-auth")
+    {:ok, request} = BasicClientPlugOptions.get("/basic-auth")
     auth_header = Tesla.get_header(request, "authorization")
 
     assert auth_header == "Basic #{base_64_encoded}"

    base_64_encoded = Base.encode64(":")
    assert base_64_encoded == "Og=="

    request = BasicClient.client() |> BasicClient.get("/basic-auth")
    auth_header = Tesla.get_header(request, "authorization")

    assert auth_header == "Basic #{base_64_encoded}"


    adapter fn env ->
      case env.url do
        "/basic-auth" -> {:ok, env}
      end
    end

