1
0
mirror of https://github.com/danog/parallel.git synced 2024-11-27 04:44:56 +01:00
parallel/test/Worker/WorkerExceptionTest.php

17 lines
375 B
PHP
Raw Normal View History

2018-10-07 17:14:27 +02:00
<?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);
}
}