anchor.diff:      TestSession = watts_session:start_link(TestToken),
   
       ProviderList = fun() ->
  -                             {ok, [ {<<"id">>, pid1} ]}
  +                             {ok, [ {<<"id">>, pid1},
  +                                    {<<"ID1">>, pid2},
  +                                    {<<"ID2">>, pid3}]}
                        end,
   
       RetrieveUserInfo = fun(_, _, _) ->
                                  {ok, #{sub => <<"sub">>}}
                          end,
  -    ProviderInfo = fun(_Pid) ->
  +    ProviderInfo = fun(<<"ID2">>) ->
  +                           {ok, #{
  +                                id => <<"ID2">>,
  +                                description => <<"a ready provider">>,
  +                                ready => true,
  +                                extra_config => #{priority => 5},
  +                                issuer => ?ISSUER_URL}};
  +                      (_) ->
                                {ok, #{
                                   id => <<"ID1">>,
                                   description => <<"info">>,
  
positive.code:                                         {ok, Credential};
                                      <<"error">> ->
                                          {error, ErrMsg};
                                      _ ->
                                          {error, internal}
                                  end
  
negative.code:     end,
      ok.
  
  get_provider_info_test() ->
      {ok, Meck} = start_meck(),
      try
          ExpectedInfo = #{
            id => <<"ID1">>,
            description => <<"info">>,
            ready => false,
            extra_config => #{priority => 5},
            issuer => ?ISSUER_URL
           },
          ?assertEqual({ok, ExpectedInfo}, watts:get_openid_provider_info("ID1"))
      after
          ok = stop_meck(Meck)
      end.
  
  
  
  