public function testRandomQuote() { $app = $this->getApp(); $handler = new AdminHandler($app); $result = $handler->randomQuote(); $this->assertRegExp('#<cite>#', $result); }