anchor.diff:  enable_plugin_generic(Plugin, #state{config_file=ConfigFile} = State) ->
       case file:consult(ConfigFile) of
           {ok, [{plugins, Plugins}]} ->
  -            Key = element(2, Plugin),
               NewPlugins =
               case lists:keyfind(Key, 2, Plugins) of
                   false ->
  
positive.code:     exit({other_sampl_hook_x_called_but_should_not, V}).
  
  
  check_plugins_test() ->
      Hooks = [{?MODULE, sample_hook, 0},
               {?MODULE, sample_hook, 1},
               {?MODULE, sample_hook, 2},
  
negative.code:     call_no_hooks(),
  
      %% ENABLE PLUGIN
      ?assertEqual(ok, vmq_plugin_mgr:enable_plugin(vmq_plugin, [".."])),
      ?assert(lists:keyfind(vmq_plugin, 1, application:which_applications()) /= false),
  
      io:format(user, "info all ~p~n", [vmq_plugin:info(all)]),
  