public function assertTraceNotContains($trace) { $traces =
$this->cache->
getTraces();
$traces =
current($traces);
$this->
assertDoesNotMatchRegularExpression('/'.
$trace.'/',
implode(', ',
$traces));
} public function assertExceptionsAreCaught() { $this->
assertTrue($this->kernel->
isCatchingExceptions());
} public function assertExceptionsAreNotCaught() { $this->
assertFalse($this->kernel->
isCatchingExceptions());
} public function request($method,
$uri = '/',
$server =
[],
$cookies =
[],
$esi = false,
$headers =
[]) { if (null ===
$this->kernel
) { throw new \
LogicException('You must call setNextResponse() before calling request().'
);
}