. */ class Test_Config extends PHPUnit_Framework_TestCase { public function testSetAppValueIfSetToNull() { $key = uniqid("key-"); $result = \OCP\Config::setAppValue('unit-test', $key, null); $this->assertTrue($result); $result = \OCP\Config::setAppValue('unit-test', $key, '12'); $this->assertTrue($result); } }