Ejemplo n.º 1
0
 /**
  * @covers Gloubster\Message\Job\AbstractJob::setResult
  * @covers Gloubster\Message\Job\AbstractJob::getResult
  */
 public function testGetSetResult()
 {
     $result = array('sha245' => '65647576890abc');
     $this->object->setResult($result);
     $this->assertEquals($result, $this->object->getResult());
     $data = json_decode($this->object->toJson(), true);
     $this->assertEquals($result, $data['result']);
 }