<?php ob_end_clean(): bool
<?php ob_start(); $result->getRoute()->getHandler()(); $echoed = ob_get_contents(); ob_end_clean(); self::assertSame($message, $echoed); }