Exemple #1
0
 /**
  * @covers itseo\test\Humans::test
  * @todo   Implement testTest().
  */
 public function testTest()
 {
     $dummy_target = "http://www.google.es/";
     $result = $this->object->test($dummy_target);
     $this->assertArrayHasKey("name", $result);
     $this->assertArrayHasKey("score", $result);
     $this->assertArrayHasKey("total_score", $result);
     $this->assertArrayHasKey("result", $result);
     $this->assertEquals("humans", $result['name']);
 }