anchor.diff:  -include_lib("radius/include/radius.hrl").
   -include("ocs_eap_codec.hrl").
   -include_lib("common_test/include/ct.hrl").
  +-include_lib("diameter/include/diameter.hrl").
  +-include_lib("diameter/include/diameter_gen_base_rfc6733.hrl").
  +-include_lib("../include/diameter_gen_nas_application_rfc7155.hrl").
  +-include_lib("../include/diameter_gen_cc_application_rfc4006.hrl").
  +
  +-define(SVC, diameter_client_service).
  +-define(BASE_APPLICATION_ID, 0).
  +-define(NAS_APPLICATION_ID, 1).
  +-define(CC_APPLICATION_ID, 4).
   
   %%---------------------------------------------------------------------
   %%  Test server callback functions
  
positive.code: %% Returns a list of all test cases in this test suite.
  %%
  all() -> 
  	[radius_accouting, radius_disconnect_session].
  
  %%---------------------------------------------------------------------
  %%  Test cases
  
negative.code: 	Config1 = [{radius_shared_secret, SharedSecret} | Config],
  	ok = ocs:add_client({127, 0, 0, 1}, 3799, Protocol, SharedSecret),
  	NasID = atom_to_list(node()),
  	Config2 = [{nas_id, NasID} | Config1],
  	{ok, [{auth, DiaAuthInstance}, {acct, _}]} = application:get_env(ocs, diameter),
  	[{Address, Port, _}] = DiaAuthInstance,
  	true = diameter:subscribe(?SVC),
  	ok = diameter:start_service(?SVC, client_service_opts()),
  	{ok, _Ref} = connect(?SVC, Address, Port, diameter_tcp),
  	receive
  		#diameter_event{service = ?SVC, info = start} ->
  			[{diameter_client, Address}] ++ Config2;
  		_ ->
  			{skip, diameter_client_service_not_started}
  	end.
  
  -spec end_per_suite(Config :: [tuple()]) -> any().
  %% Cleanup after the whole suite.
  %%
  end_per_suite(Config) ->
  	ok = diameter:stop_service(?SVC),
  	ok = ocs_test_lib:stop(),
  	ok = ocs:delete_subscriber("25252525"),
  	Config.
  