PhpBench\Tests\Unit\Benchmark\Remote\PayloadFactoryTest::testCreate PHP Метод

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

It should create a new payload.
public testCreate ( )
    public function testCreate()
    {
        $payload = $this->factory->create('template', ['token' => 'one'], '/path/to/php');
        $this->assertInstanceOf(Payload::class, $payload);
    }
PayloadFactoryTest