64 $this->processor->beginComponent($name1, $type1);
65 $this->processor->beginTag(
"module", [
"id" => $id1]);
67 $this->processor->beginComponent($name2, $type1);
68 $this->processor->beginTag(
"module", [
"id" => $id2]);
69 $this->processor->beginTag(
"pluginslot", [
"id" => $id5,
"name" => $name5]);
71 $this->processor->beginComponent($name3, $type2);
72 $this->processor->beginTag(
"service", [
"id" => $id3]);
73 $this->processor->beginTag(
"pluginslot", [
"id" => $id6,
"name" => $name6]);
74 $this->processor->beginTag(
"pluginslot", [
"id" => $id7,
"name" => $name7]);
76 $this->processor->beginComponent($name4, $type2);
77 $this->processor->beginTag(
"service", [
"id" => $id4]);
80 $id1 => [$type1, $name1, []],
81 $id2 => [$type1, $name2, [[$id5, $name5]]],
82 $id3 => [$type2, $name3, [[$id6, $name6], [$id7, $name7]]],
83 $id4 => [$type2, $name4, []]
86 $this->assertEquals($expected, $this->processor->getData());