45 : void
46 {
47 $this->link_html = sha1(
C\Link\Standard::class);
48 $this->icon_html = sha1(
C\Symbol\Icon\Icon::class);
49 $this->shy_html = sha1(
C\
Button\Shy::class);
50 $this->button_html = sha1(
C\
Button\Standard::class);
51 $this->unordered_html = sha1(
C\Listing\Unordered::class);
52
53 $this->link_mock = $this->createMock(
I\Link\Standard::class);
54 $this->link_mock->method('getCanonicalName')->willReturn($this->link_html);
55
56 $this->icon_mock = $this->createMock(
I\Symbol\Icon\Icon::class);
57 $this->icon_mock->method('getCanonicalName')->willReturn($this->icon_html);
58
59 $this->shy_mock = $this->createMock(
I\
Button\Shy::class);
60 $this->shy_mock->method('getCanonicalName')->willReturn($this->shy_html);
61
62 $this->button_mock = $this->createMock(
I\
Button\Standard::class);
63 $this->button_mock->method('getCanonicalName')->willReturn($this->button_html);
64
65 $this->unordered_mock = $this->createMock(
I\Listing\Unordered::class);
66 $this->unordered_mock->method('getCanonicalName')->willReturn($this->unordered_html);
67
68 $this->button_factory = $this->createMock(
I\
Button\Factory::class);
69 $this->button_factory->method('shy')->willReturn($this->shy_mock);
70 $this->button_factory->method('standard')->willReturn($this->button_mock);
71
72 $this->link_factory = $this->createMock(
I\Link\Factory::class);
73 $this->link_factory->method('standard')->willReturn($this->link_mock);
74
75 $this->listing_factory = $this->createMock(
I\Listing\Factory::class);
76 $this->listing_factory->method('unordered')->willReturn($this->unordered_mock);
77
78 $this->uri_mock = $this->createMock(\
ILIAS\Data\URI::class);
79
80 parent::setUp();
81 }
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.