PhpBench\Tests\Unit\Environment\InformationTest::testSet PHP Метод

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

It should throw an Exception if set is called.
public testSet ( )
    public function testSet()
    {
        $information = new Information('hello', []);
        $information['foo'] = 'bar';
    }