Graze\Supervisor\ProcessSupervisorTest::testStart PHP Method

testStart() public method

public testStart ( )
    public function testStart()
    {
        $fn = function () {
        };
        $this->process->shouldReceive('start')->once()->with($fn);
        $this->assertSame($this->sup, $this->sup->start($fn));
        $this->assertNull($this->sup->stderr);
        $this->assertNull($this->sup->stdout);
    }