PhpBench\Tests\Unit\Benchmark\BaselineManagerTest::testRegisterTwice PHP Method

testRegisterTwice() public method

It should throw an exception if a baseline callable name already exists.
public testRegisterTwice ( )
    public function testRegisterTwice()
    {
        $this->manager->addBaselineCallable('foo', __CLASS__ . '::baselineExample');
        $this->manager->addBaselineCallable('foo', __CLASS__ . '::baselineExample');
    }