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

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

It should throw an exception if getStats is called when no computation has taken place.
    public function testGetStatsNoComputeException()
    {
        $variant = new Variant($this->subject->reveal(), $this->parameterSet->reveal(), 10, 20);
        $variant->getStats();
    }