19 declare(strict_types=1);
28 $cb = $this->createMock(LSControlBuilder::class);
31 json_encode([
"label" =>
"",
"command" =>
"",
"parameter" =>
null,
"state" =>
null,
"childs" => []]),
38 $cb = $this->createMock(LSControlBuilder::class);
49 ->item(
'item3.2.1', 6)
55 "label" =>
"",
"command" =>
"",
"parameter" =>
null,
"state" =>
null,
"childs" => [
56 [
"label" =>
"node1",
"command" =>
"",
"parameter" =>
null,
"state" =>
null,
"childs" => [
57 [
"label" =>
"item1.1",
"command" =>
"",
"parameter" => 1,
"state" =>
null,
"current" =>
false],
58 [
"label" =>
"item1.2",
"command" =>
"",
"parameter" => 2,
"state" =>
null,
"current" =>
false]
60 [
"label" =>
"item2",
"command" =>
"",
"parameter" => 3,
"state" =>
null,
"current" =>
false],
61 [
"label" =>
"node3",
"command" =>
"",
"parameter" =>
null,
"state" =>
null,
"childs" => [
62 [
"label" =>
"item3.1",
"command" =>
"",
"parameter" => 4,
"state" =>
null,
"current" =>
false],
63 [
"label" =>
"node3.2",
"command" =>
"",
"parameter" => 5,
"state" =>
null,
"childs" => [
64 [
"label" =>
"item3.2.1",
"command" =>
"",
"parameter" => 6,
"state" =>
null,
"current" =>
false]
69 json_encode($expected),
76 $cb = $this->createMock(LSControlBuilder::class);
79 $this->assertInstanceOf(ControlBuilder::class, $tb);
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null