moving cache getter/setter from configuration test mock