anchor.diff:  			{_, Id} = lists:keyfind("id", 1, ResList)
   	end.
   
  -query_pla_notification() ->
  -	[{userdata, [{doc, "Query pla notifications"}]}].
  -
  -query_pla_notification(Config) ->
  +query_resource_notification() ->
  +	[{userdata, [{doc, "Query resource notifications"}]}].
  +
  +query_resource_notification(Config) ->
  +	TariffResource = #resource{name = "Example",
  +			start_date = erlang:system_time(?MILLISECOND),
  +			end_date = erlang:system_time(?MILLISECOND) + rand:uniform(10000000000),
  +			state = "created", specification = #specification_ref{id = "4",
  +			href = "/resourceCatalogManagement/v3/resourceSpecification/4",
  +			name = "Example spec", version = "1.0"}},
  +	{ok, #resource{id = Id}} = ocs:add_resource(TariffResource),
   	HostUrl = ?config(host_url, Config),
   	CollectionUrl = HostUrl ++ ?PathResourceHub,
   	ListenerPort = ?config(listener_port, Config),
   	ListenerServer = "http://localhost:" ++ integer_to_list(ListenerPort),
   	Callback = ListenerServer ++ "/listener/"
  -			++ atom_to_list(?MODULE) ++ "/queryplanotification",
  -	Name = "test_notification3",
  -	Query = "eventType=PlaRemoveNotification&id=" ++ Name,
  +			++ atom_to_list(?MODULE) ++ "/queryresourcenotification",
  +	Query = "eventType=ResourceRemoveNotification&id=" ++ Id,
   	RequestBody = "{\n"
   			++ "\t\"callback\": \"" ++ Callback ++ "\",\n"
   			++ "\t\"query\": \"" ++ Query ++ "\"\n"
  
positive.code: 	post_hub_inventory, delete_hub_inventory, get_inventory_hubs,
  	get_inventory_hub,
  	notify_insert_gtt, notify_delete_gtt, query_gtt_notification,
  	notify_add_resource, notify_delete_resource, query_pla_notification,
  	post_hub_usage, get_usage_hubs, get_usage_hub, delete_hub_usage,
  	notify_diameter_acct_log, get_resource, get_resources,
  	post_resource, delete_resource, update_resource, oauth_authentication].
  
negative.code: 	mod_esi:deliver(SessionID, "status: 201 Created\r\n\r\n"),
  	notify_delete_resource ! Input.
  
  -spec queryresourcenotification(SessionID :: term(), Env :: list(),
  		Input :: string()) -> any().
  %% @doc Notification callback for query_resource_notification test case.
  queryresourcenotification(SessionID, _Env, Input) ->
  	mod_esi:deliver(SessionID, "status: 201 Created\r\n\r\n"),
  	query_resource_notification ! Input.
  
  -spec notifydiameteracctlog(SessionID :: term(), Env :: list(),
  		Input :: string()) -> any().
  