PhpBench\Tests\Unit\Benchmark\VariantTest::testExceptionNoneGet PHP Метод

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

It should return a new ErrorStack if none has not been set.
    public function testExceptionNoneGet()
    {
        $variant = new Variant($this->subject->reveal(), $this->parameterSet->reveal(), 10, 20);
        $errorStack = $variant->getErrorStack();
        $this->assertInstanceOf('PhpBench\\Model\\ErrorStack', $errorStack);
    }