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