hasServiceException() публичный Метод

If $serviceException is set, return true.
public hasServiceException ( ) : boolean
Результат boolean
 public function testDoesntHaveServiceException()
 {
     $ex = new ServiceException('foo');
     $this->assertFalse($ex->hasServiceException());
 }