How to test sending a message with at.chat_input[0]

How do you create a test to actually send the chat message?

If I run:

at.chat_input[0].set_value(“generate prime numbers up to 7”).run()

It’s just setting the value, how do I now actually send the message and test the response has text in it?