Lines Matching refs:source
70 $source = new \Mock\Hoa\Event\Source()
72 ->when($result = SUT::register($eventId, $source))
85 $source = 'Mock\Hoa\Event\Source'
87 ->when($result = SUT::register($eventId, $source))
100 $source = new \Mock\Hoa\Event\Source(),
101 SUT::register($eventId, $source)
103 ->exception(function () use ($eventId, $source) {
104 SUT::register($eventId, $source);
114 $source = new \StdClass()
116 ->exception(function () use ($eventId, $source) {
117 $result = SUT::register($eventId, $source);
127 $source = 'StdClass'
129 ->exception(function () use ($eventId, $source) {
130 $result = SUT::register($eventId, $source);
140 $source = new \Mock\Hoa\Event\Source(),
141 SUT::register($eventId, $source)
154 $source = new \Mock\Hoa\Event\Source(),
155 SUT::register($eventId, $source),
239 $source = new \Mock\Hoa\Event\Source(),
242 SUT::register($eventId, $source),
244 function (LUT\Bucket $receivedBucket) use ($self, $source, $bucket, &$called) {
251 ->isIdenticalTo($source);
255 ->when($result = SUT::notify($eventId, $source, $bucket))
268 $source = new \Mock\Hoa\Event\Source(),
271 ->exception(function () use ($eventId, $source, $data) {
272 SUT::notify($eventId, $source, $data);
282 $source = new \Mock\Hoa\Event\Source(),
283 SUT::register($eventId, $source)