Yields and waits for a response from the other bot, then throws if the message head does not match that of the passed string.
The expected head, which may include some replace-tokens.
The file the test is in.
The line the test is on.
Yields and waits for a response from the other bot, then throws if the message head does not match that of the passed string.