AwaitSent
Pauses receive() until the code under test sends a message that matches accepts, such as a tool response. Each sent message is checked once, in send order, so a message one wait skips cannot satisfy a later one. Fails the test if nothing matches within 5 seconds (test time under runTest); closing the connection ends the wait without failing.