anchor.diff:  
   -export([test_setup/0,
            test_cleanup/1,
  -         ensure_ibrowse/0,
  -         ensure_couch/0,
            start_stats_hero/0,
            mock/1,
            mock/2,
            unmock/1,
            validate_modules/1
           ]).
  -
  --define(superuser_name,  <<"platform-superuser">>).
  --define(test_org_name, <<"clownco">>).
  --define(test_org_admin, <<"clownco-org-admin">>).
  --define(test_org_user1, <<"cooky">>).
  --define(no_such_id, <<"deadbeefdeadbeefdeadbeefdeadbeef">>).
  --define(authz_host, "http://localhost:5959").
  --define(chef_host_name, "localhost").
  --define(chef_host_port, 5984).
   
   -include_lib("eunit/include/eunit.hrl").
   
  
positive.code:     Port.
  
  test_cleanup(_State) ->
      cleanup_ibrowse(),
      application:stop(ibrowse),
      case whereis(inet_gethost_native_sup) of
          P when is_pid(P) ->
              inet_gethost_native:terminate(shutdown, P);
  
negative.code: %% expectations
  validate_modules(Modules) ->
      [?assert(meck:validate(M)) || M <- Modules].
  