mirror of
https://github.com/amphp/parallel.git
synced 2025-07-19 12:31:29 +02:00
17 lines
379 B
PHP
17 lines
379 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace Amp\Parallel\Test\Context\Internal;
|
|
|
|
use Amp\Parallel\Context\Internal\ExitSuccess;
|
|
use Amp\PHPUnit\AsyncTestCase;
|
|
|
|
class ExitSuccessTest extends AsyncTestCase
|
|
{
|
|
public function testGetResult(): void
|
|
{
|
|
$value = 1;
|
|
$result = new ExitSuccess($value);
|
|
self::assertSame($value, $result->getResult());
|
|
}
|
|
}
|