mirror of
https://github.com/amphp/parallel.git
synced 2025-07-18 12:01:24 +02:00
17 lines
415 B
PHP
17 lines
415 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace Amp\Parallel\Test\Worker;
|
|
|
|
use Amp\Parallel\Worker\WorkerException;
|
|
use Amp\PHPUnit\AsyncTestCase;
|
|
|
|
class WorkerExceptionTest extends AsyncTestCase
|
|
{
|
|
public function testConstructorShouldBeInstance(): void
|
|
{
|
|
$workerException = new WorkerException('work_exception_message');
|
|
|
|
self::assertInstanceOf(WorkerException::class, $workerException);
|
|
}
|
|
}
|