1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-02 09:37:57 +01:00
parallel/test/Worker/WorkerExceptionTest.php
2019-08-27 12:17:41 -05:00

17 lines
385 B
PHP

<?php
namespace Amp\Parallel\Test\Worker;
use Amp\Parallel\Worker\WorkerException;
use Amp\PHPUnit\AsyncTestCase;
class WorkerExceptionTest extends AsyncTestCase
{
public function testConstructorShouldBeInstance()
{
$workerException = new WorkerException('work_exception_message');
$this->assertInstanceOf(WorkerException::class, $workerException);
}
}