'test' ]; $helpers = new KO7_Unittest_Helpers(); // Set new environment and check if set correctly $helpers->set_environment($config); self::assertSame('test', KO7::$config->load('cache')->get('default')); // Restore old environment and check if restored $helpers->restore_environment(); self::assertNotSame('test', KO7::$config->load('cache')->get('default')); } }