mirror of
https://github.com/danog/parallel.git
synced 2024-12-02 17:52:14 +01:00
17 lines
375 B
PHP
17 lines
375 B
PHP
|
<?php
|
||
|
|
||
|
namespace Amp\Parallel\Test\Worker;
|
||
|
|
||
|
use Amp\Parallel\Worker\WorkerException;
|
||
|
use Amp\PHPUnit\TestCase;
|
||
|
|
||
|
class WorkerExceptionTest extends TestCase
|
||
|
{
|
||
|
public function testConstructorShouldBeInstance()
|
||
|
{
|
||
|
$workerException = new WorkerException('work_exception_message');
|
||
|
|
||
|
$this->assertInstanceOf(WorkerException::class, $workerException);
|
||
|
}
|
||
|
}
|