PhpBench\Tests\Unit\Benchmark\Remote\PayloadTest::testLaunch PHP Метод

testLaunch() публичный Метод

It should generate a script from a given template, launch it and return the results.
public testLaunch ( )
    public function testLaunch()
    {
        $payload = new Payload(__DIR__ . '/template/foo.template', ['foo' => 'bar']);
        $result = $payload->launch($payload);
        $this->assertEquals(['foo' => 'bar'], $result);
    }