示例#1
0
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testSetResponseThrowsInvalidArgumentException()
 {
     $this->serializationHelper->expects($this->once())->method('serializeReturnValue')->willThrowException(new \Exception());
     $job = new Job();
     $job->setType('JobType');
     $job->setResponse(['foobar']);
 }