tests/unit/PoolMaxSimultaneousTest.php 1 location
|
@@ 28-36 (lines=9) @@
|
| 25 |
|
/** @var mixed */ |
| 26 |
|
private $process; |
| 27 |
|
|
| 28 |
|
public function setUp() |
| 29 |
|
{ |
| 30 |
|
parent::setUp(); |
| 31 |
|
|
| 32 |
|
$this->process = Mockery::mock(Process::class); |
| 33 |
|
$this->process->shouldReceive('stop'); |
| 34 |
|
$this->process->shouldReceive('isStarted')->andReturn(false); |
| 35 |
|
$this->process->shouldReceive('isRunning')->andReturn(false); |
| 36 |
|
} |
| 37 |
|
|
| 38 |
|
public function testProperties() |
| 39 |
|
{ |
tests/unit/PoolTest.php 1 location
|
@@ 30-38 (lines=9) @@
|
| 27 |
|
/** @var mixed */ |
| 28 |
|
private $process; |
| 29 |
|
|
| 30 |
|
public function setUp() |
| 31 |
|
{ |
| 32 |
|
parent::setUp(); |
| 33 |
|
|
| 34 |
|
$this->process = Mockery::mock(Process::class); |
| 35 |
|
$this->process->shouldReceive('stop'); |
| 36 |
|
$this->process->shouldReceive('isStarted')->andReturn(false); |
| 37 |
|
$this->process->shouldReceive('isRunning')->andReturn(false); |
| 38 |
|
} |
| 39 |
|
|
| 40 |
|
public function testPoolIsARunInterface() |
| 41 |
|
{ |