Lines Matching refs:getChildren
80 $this->assertCount(0, $root->getChildren(true), 'no children expected');
92 $tree = $root->getChildren(true);
98 $this->assertCount(0, $tree[0]->getChildren(true), 'no children expected');
99 $this->assertCount(0, $tree[1]->getChildren(true), 'no children expected');
117 $tree = $root->getChildren(true);
123 $this->assertCount(2, $tree[0]->getChildren(true), '2 car brands expected');
124 $this->assertCount(3, $tree[1]->getChildren(true), '3 laptop brands expected');
126 $this->assertCount(3, $tree[0]->getChildren(true)[0]->getResultRows(), '3 audis expected');
127 $this->assertCount(3, $tree[0]->getChildren(true)[1]->getResultRows(), '3 bmw expected');
128 $this->assertCount(3, $tree[1]->getChildren(true)[0]->getResultRows(), '3 apple expected');
129 $this->assertCount(1, $tree[1]->getChildren(true)[1]->getResultRows(), '1 bmw expected');
130 $this->assertCount(2, $tree[1]->getChildren(true)[2]->getResultRows(), '2 dell expected');
133 …$this->assertEquals('a80', $tree[0]->getChildren(true)[0]->getResultRows()[0][0]->getValue(), 'Aud…
134 …$this->assertEquals('pro 16', $tree[1]->getChildren(true)[0]->getResultRows()[0][0]->getValue(), '…
145 $tree = $root->getChildren(true); // nest: color, type, brand -> model
160 ->getChildren(true)[0] // car
161 ->getChildren(true)[0] // audi
168 ->getChildren(true)[0] // car
169 ->getChildren(true)[0] // audi
181 $tree = $root->getChildren(true); // nest: color, type, brand -> model
183 $this->assertCount(2, $tree[6]->getChildren(true), 'top n/a node should have car, laptop');
184 $this->assertCount(3, $tree[0]->getChildren(true), 'black should have car,laptop,n/a');
195 $tree = $root->getChildren(true); // nest: material, color, *
198 …$this->assertCount(1, $tree[0]->getChildren(true)[0]->getResultRows(), '1 metal black row expected…
209 $tree = $root->getChildren(true); // nest: index, material, color, *
213 $this->assertCount(1, $tree[0]->getChildren(true), '1 metal sub node under M expected');
224 $tree = $root->getChildren(true);
242 $tree = $root->getChildren(true);