Lines Matching refs:eventId
56 ->given($eventId = 'hoa://Event/Test')
57 ->when($result = SUT::getEvent($eventId))
61 ->object(SUT::getEvent($eventId))
69 $eventId = 'hoa://Event/Test',
72 ->when($result = SUT::register($eventId, $source))
76 ->boolean(SUT::eventExists($eventId))
84 $eventId = 'hoa://Event/Test',
87 ->when($result = SUT::register($eventId, $source))
91 ->boolean(SUT::eventExists($eventId))
99 $eventId = 'hoa://Event/Test',
101 SUT::register($eventId, $source)
103 ->exception(function () use ($eventId, $source) {
104 SUT::register($eventId, $source);
113 $eventId = 'hoa://Event/Test',
116 ->exception(function () use ($eventId, $source) {
117 $result = SUT::register($eventId, $source);
126 $eventId = 'hoa://Event/Test',
129 ->exception(function () use ($eventId, $source) {
130 $result = SUT::register($eventId, $source);
139 $eventId = 'hoa://Event/Test',
141 SUT::register($eventId, $source)
143 ->when($result = SUT::unregister($eventId))
145 ->boolean(SUT::eventExists($eventId))
153 $eventId = 'hoa://Event/Test',
155 SUT::register($eventId, $source),
156 $event = SUT::getEvent($eventId)
158 ->when($result = SUT::unregister($eventId, true))
160 ->boolean(SUT::eventExists($eventId))
162 ->object(SUT::getEvent($eventId))
169 ->given($eventId = 'hoa://Event/Test')
170 ->when($result = SUT::unregister($eventId))
238 $eventId = 'hoa://Event/Test',
242 SUT::register($eventId, $source),
243 SUT::getEvent($eventId)->attach(
255 ->when($result = SUT::notify($eventId, $source, $bucket))
267 $eventId = 'hoa://Event/Test',
271 ->exception(function () use ($eventId, $source, $data) {
272 SUT::notify($eventId, $source, $data);
281 $eventId = 'hoa://Event/Test',
283 SUT::register($eventId, $source)
285 ->when($result = SUT::eventExists($eventId))
294 ->given($eventId = 'hoa://Event/Test')
295 ->when($result = SUT::eventExists($eventId))