/** * @covers itseo\test\Robots::parseRobots * @todo Implement testParseRobots(). */ public function testParseRobots() { $dummy_robots = "User-agent: *\n Disallow: /cgi-bin/\n Disallow: /tmp/\n Disallow: /~john/"; $result = $this->object->parseRobots($dummy_robots); $this->assertArrayHasKey("result", $result); $this->assertArrayHasKey("fails", $result); }