anchor.diff:  	application:start(inets),
   	Config;
   init_per_testcase(TestCase, Config) when TestCase == notify_create_bucket;
  -		TestCase == notify_delete_bucket; TestCase == notify_accumulated_balance;
  +		TestCase == notify_rating_deleted_bucket;
  +		TestCase == notify_accumulated_balance;
   		TestCase == notify_accumulated_threshold;
   		TestCase == notify_create_product; TestCase == notify_delete_product;
   		TestCase == notify_create_service;
  
positive.code: 	add_product_sms, update_product_realizing_service, delete_product,
  	ignore_delete_product, query_product, filter_product,
  	post_hub_balance, delete_hub_balance, notify_create_bucket,
  	notify_delete_bucket, notify_accumulated_balance,
  	notify_accumulated_threshold,
  	post_hub_product, delete_hub_product, notify_create_product,
  	notify_delete_product,
  
negative.code: 	{_, MillionthsOut} = lists:keyfind("amount", 1, RemainAmount),
  	100 = ocs_rest:millionths_in(MillionthsOut).
  
  notify_rating_deleted_bucket() ->
  	[{userdata, [{doc, "Notify deletion of bucket during rating"}]}].
  
  notify_rating_deleted_bucket(Config) ->
  	HostUrl = ?config(host_url, Config),
  	CollectionUrl = HostUrl ++ ?PathBalanceHub,
  	ListenerPort = ?config(listener_port, Config),
  	ListenerServer = "http://localhost:" ++ integer_to_list(ListenerPort),
  	Callback = ListenerServer ++ "/listener/"
  			++ atom_to_list(?MODULE) ++ "/notifyratingdeletedbucket",
  	RequestBody = "{\n"
  			++ "\t\"callback\": \"" ++ Callback ++ "\",\n"
  			++ "}\n",
  