anchor.diff:  			 ok
   	 end,
   	 fun(_) ->
  -			 unmock(timer),
  +			 deck36_test_util:unmock(timer),
   			 ok
   	 end,
   	 fun(_) ->
  
positive.code: %% Test cmd_format/2
  %% ====================================================================
  cmd_format_test_() ->
  	Rest = " -k \"~s\" -o ~p",
  	Bin = "test_bin",
  	{setup,
  	 fun() ->
  			 mock_filelib()
  	 end,
  	 fun(_) ->
  			 unmock(filelib)
  	 end,
  	 fun(_) ->
  			 [
  			  {"simple", ?_assertEqual(Bin ++ Rest, zabbix_sender:cmd_format(Bin, []))},
  			  {"remote_addr", ?_assertEqual(Bin ++ " -z \"1.2.3.4\"" ++ Rest,
  											zabbix_sender:cmd_format(Bin, [{remote_addr, "1.2.3.4"}]))},
  			  [{"remote_port " ++ F, ?_assertEqual(Bin ++ " -p \"1234\"" ++ Rest,
  												   zabbix_sender:cmd_format(Bin, [{remote_port, V}]))}
  			   || {F, V} <- [{"integer", 1234}, {"binary", <<"1234">>}, {"list", "1234"}]],
  			  {"local_name string", ?_assertEqual(Bin ++ " -s \"test\"" ++ Rest,
  												  zabbix_sender:cmd_format(Bin, [{local_name, "test"}]))},
  			  {"local_name binary", ?_assertEqual(Bin ++ " -s \"test\"" ++ Rest,
  												  zabbix_sender:cmd_format(Bin, [{local_name, <<"test">>}]))},
  			  {"config file string", ?_assertEqual(Bin ++ " -c \"regular\"" ++ Rest,
  												   zabbix_sender:cmd_format(Bin, [{config_file, "regular"}]))},
  			  {"config file binary", ?_assertEqual(Bin ++ " -c \"regular\"" ++ Rest,
  												   zabbix_sender:cmd_format(Bin, [{config_file, <<"regular">>}]))},
  			  {"config file enoent", ?_assertError(enoent,
  												   zabbix_sender:cmd_format(Bin, [{config_file, "any"}]))}
  			 ]
  	 end}.
  
  
negative.code: 					 end),
  	ok.
  
  