Selftester.expectInBody

Yields and waits for a response from the other bot, then throws if the message body does not contain the passed string.

struct Selftester
void
expectInBody
(
const string tokenedExpected
,
const string file = __FILE__
,
const size_t line = __LINE__
)

Parameters

tokenedExpected string

The expected string, which may include some replace-tokens.

file string

The file the test is in.

line size_t

The line the test is on.