public function testToString() { $response = $this->createTestResponse('error.twig', $this->getContext(), []); $this->assertRegExp('#Bolt - Fatal error.#', (string) $response); }