DefaultConfigTest::testSettingAndUnsettingOptionsViaCompatibilityAPI PHP Метод

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

    public function testSettingAndUnsettingOptionsViaCompatibilityAPI()
    {
        $this->sandbox->set_option('error_level', 1);
        $this->assertEquals(1, $this->sandbox->get_option('error_level'));
        $this->sandbox->set_option('error_level', null);
        $this->assertEquals(null, $this->sandbox->get_option('error_level'));
    }