Using 'tracker.current_state()['sender_id']' in rasa test

My Rasa assistant gets all the needed data about a user using ‘tracker.current_state()[‘sender_id’]’, thus I can use it in my further conversations and responses.

More details on this feature: it can be used to access the sender_id associated with the current conversation state within a Rasa chatbot. This sender_id is typically a unique identifier for the user or conversation session, allowing the chatbot to maintain context and manage conversations with multiple users or sessions.

How can I implement and use this feature when working with ‘rasa test’?