Example #1
0
 /**
  * @covers Itkg\Batch\State::setException
  */
 public function testSetException()
 {
     $e = new \Exception();
     $this->object->setException($e);
     $this->assertEquals($e, $this->object->getException());
     $this->assertEquals(1, $this->object->getStatus());
 }