mock service + getting resource keys