anchor.diff:     end_per_group/2
   ]).
   
  --export([encode/1, decode/1, new/1]).
  +-export([encode/1, decode/1, new/1, put/1, get/1, remove/1, match/1]).
   
   %%%----------------------------------------------------------------------------   
   %%%
  
positive.code:    meck:new(erlcloud_aws, [passthrough]),
     meck:expect(erlcloud_aws, auto_config, fun() -> {ok, #aws_config{}} end),
  
     {ok, Config} = oauth2_ddb:new(uri:new("http://localhost:8000/oauth2pubkey?hashkey=access")),   
  
     meck:unload(erlcloud_aws),
  
     {ddb, AwsCfg, <<"oauth2pubkey">>, <<"access">>} = Config,
     "http://" = AwsCfg#aws_config.ddb_scheme,
     "localhost" = AwsCfg#aws_config.ddb_host,
     8000 = AwsCfg#aws_config.ddb_port.
  
  
     
negative.code:    [
        %%
        %% 
        {ddb, [], 
           [encode, decode, new, put, get, remove, match]}
     ].
  
  %%%----------------------------------------------------------------------------   
  