mirror of
https://github.com/danog/parallel.git
synced 2024-12-02 09:37:57 +01:00
17 lines
325 B
PHP
17 lines
325 B
PHP
<?php
|
|
|
|
namespace Amp\Parallel\Test\Sync;
|
|
|
|
use Amp\Parallel\Sync\ExitSuccess;
|
|
use Amp\PHPUnit\AsyncTestCase;
|
|
|
|
class ExitSuccessTest extends AsyncTestCase
|
|
{
|
|
public function testGetResult()
|
|
{
|
|
$value = 1;
|
|
$result = new ExitSuccess($value);
|
|
$this->assertSame($value, $result->getResult());
|
|
}
|
|
}
|