#!/usr/bin/env php processSceneTest(array('id' => 'scene001', 'title' => '测试场景1', 'children' => array()))) && p('id,text,type') && e('scene001,测试场景1,root'); // 步骤1:正常情况 r($testcaseTest->processSceneTest(array('id' => 'scene002', 'title' => '测试场景2', 'children' => array('attached' => array(array('id' => 'sub001', 'title' => '子场景1')))))) && p('id,text,type') && e('scene002,测试场景2,root'); // 步骤2:包含attached子节点 r($testcaseTest->processSceneTest(array('id' => 'scene003', 'title' => '测试场景3', 'children' => array('topics' => array('topic' => array(array('id' => 'topic001', 'title' => '主题1'))))))) && p('id,text,type') && e('scene003,测试场景3,root'); // 步骤3:包含topics子节点 r($testcaseTest->processSceneTest(array('id' => 'scene004', 'title' => '测试场景4', 'children' => array()))) && p('id,text,type') && e('scene004,测试场景4,root'); // 步骤4:无children数据 r($testcaseTest->processSceneTest(array('id' => 'scene005', 'title' => '复杂场景', 'children' => array('attached' => array(array('id' => 'complex001', 'title' => '复杂子场景', 'children' => array('attached' => array(array('id' => 'nested001', 'title' => '嵌套场景'))))))))) && p('id,text,type') && e('scene005,复杂场景,root'); // 步骤5:复杂嵌套结构