mageekguy\atoum\reports\asynchronous\coveralls::setServiceJobId PHP Method

setServiceJobId() public method

public setServiceJobId ( $id = null )
    public function setServiceJobId($id = null)
    {
        $this->serviceJobId = $id;
        return $this;
    }

Usage Example

Beispiel #1
0
 public function testGetSetServiceJobId()
 {
     $this->if($report = new testedClass(uniqid(), uniqid()))->then->variable($report->getServiceJobId())->isNull()->if($service = uniqid())->then->object($report->setServiceJobId($service))->isIdenticalTo($report)->string($report->getServiceJobId())->isEqualTo($service);
 }