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

testCallableNotCallable() public method

It should throw an exception if the callable is not callable (string).
    public function testCallableNotCallable()
    {
        $this->manager->addBaselineCallable('foo', 'does_not_exist');
        $this->manager->benchmark('foo', 100);
    }