PhpBench\Tests\Unit\Registry\ConfigTest::testExceptionOffsetNotExist PHP Method

testExceptionOffsetNotExist() public method

It should throw an exception if an offset does not exist.
    public function testExceptionOffsetNotExist()
    {
        $config = new Config('test', ['foo' => 'bar', 'bar' => ['one' => 1, 'two' => 2]]);
        $config['offset_not_exist'];
    }