PhpBench\Tests\Unit\Benchmark\BaselineManagerTest::testCallableNotCallableObject PHP Метод

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

It should throw an exception if the callable is not callable (object).
    public function testCallableNotCallableObject()
    {
        $this->manager->addBaselineCallable('foo', new \stdClass());
        $this->manager->benchmark('foo', 100);
    }