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

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

It should throw an execption if a template is not found.
    public function testTemplateNotFound()
    {
        $process = $this->prophesize(Process::class);
        $payload = new Payload(__DIR__ . '/template/not-existing-filename.template', [], null, $process->reveal());
        $payload->launch($payload);
    }