anchor.diff:  -include_lib("chef_wm.hrl").
   
   -define(CHECK_MODS, [chef_otto, chef_sql, chef_solr]).
  +
  +%% totally made up data, used for mocks
  +-define(KEYGEN_STATUS, [{keys, 10}, {max, 10},
  +                        {max_workers, 10}, {cur_max_workers, 10},
  +                        {inflight, 0}, {avail_workers, 10},
  +                        {start_size, 10}]).
  +
   -define(PING_TIMEOUT, 50).
   -define(SLOW_CHECK_SLEEP, 100).
   
  
positive.code:                      meck:expect(BadMod, ping, fun() -> pang end);
                   timeout ->
                       meck:expect(BadMod, ping, fun() -> timer:sleep(?SLOW_CHECK_SLEEP) end)
               end
       end,
       fun(_) ->
               [ meck:unload(Mod) || Mod <- ?CHECK_MODS ],
               cleanup_env()
       end,
       [{"handles failure of " ++ a2s(BadMod),
  
negative.code:              [ begin
                     meck:new(Mod),
                     meck:expect(Mod, ping, fun() -> pong end)
                 end || Mod <- ?CHECK_MODS ],
               meck:new(chef_keygen_cache),
               meck:expect(chef_keygen_cache, status, fun() -> ?KEYGEN_STATUS end)
       end,
       fun(_) ->
               [ meck:unload(Mod) || Mod <- ?CHECK_MODS ],
               meck:unload(chef_keygen_cache),
               cleanup_env()
       end,
       [
  