hasServiceException() public method

If $serviceException is set, return true.
public hasServiceException ( ) : boolean
return boolean
 public function testDoesntHaveServiceException()
 {
     $ex = new ServiceException('foo');
     $this->assertFalse($ex->hasServiceException());
 }