Lines Matching refs:group

90             ->given($group = new SUT('foo'), $line = __LINE__)
91 ->when($result = $group->raise())
105 $group = new SUT('foo'), $fooLine = __LINE__,
106 $group[] = $exception1
108 ->when($result = $group->raise())
126 $group = new SUT('foo'), $fooLine = __LINE__,
127 $group[] = $exception1,
128 $group[] = $exception2
130 ->when($result = $group->raise())
148 $group = new SUT('foo'),
149 $oldStackSize = $group->getStackSize()
152 $result = $group->beginTransaction(),
153 $stackSize = $group->getStackSize()
159 ->isIdenticalTo($group)
168 $group = new SUT('foo'),
169 $oldStackSize = $group->getStackSize()
172 $result = $group->rollbackTransaction(),
173 $stackSize = $group->getStackSize()
179 ->isIdenticalTo($group)
188 $group = new SUT('foo'),
189 $group->beginTransaction(),
190 $group->beginTransaction(),
191 $oldStackSize = $group->getStackSize(),
192 $group->rollbackTransaction()
195 $result = $group->rollbackTransaction(),
196 $stackSize = $group->getStackSize()
202 ->isIdenticalTo($group)
211 $group = new SUT('foo'),
212 $group->beginTransaction(),
213 $oldCount = count($group),
214 $oldStackSize = $group->getStackSize()
217 $result = $group->commitTransaction(),
218 $count = count($group),
219 $stackSize = $group->getStackSize()
227 ->isIdenticalTo($group)
238 $group = new SUT('foo'),
239 $group->beginTransaction(),
242 $group[] = $exception1,
243 $group[] = $exception2,
244 $oldCount = count($group),
245 $oldStackSize = $group->getStackSize()
248 $result = $group->commitTransaction(),
249 $count = count($group),
250 $stackSize = $group->getStackSize()
258 ->isIdenticalTo($group)
263 ->array(iterator_to_array($group->getIterator()))
274 $group = new SUT('foo'),
275 $group->beginTransaction(),
276 $group[] = new SUT('bar')
278 ->when($result = $group->hasUncommittedExceptions())
288 $group = new SUT('foo'),
289 $group->beginTransaction()
291 ->when($result = $group->hasUncommittedExceptions())
301 $group = new SUT('foo'),
302 $group[] = new SUT('bar')
304 ->when($result = $group->hasUncommittedExceptions())
314 $group = new SUT('foo'),
315 $group['bar'] = new SUT('bar')
317 ->when($result = $group->offsetExists('bar'))
327 $group = new SUT('foo'),
328 $group['bar'] = new SUT('bar')
330 ->when($result = $group->offsetExists('baz'))
340 $group = new SUT('foo'),
341 $group->beginTransaction(),
342 $group->beginTransaction(),
343 $group['bar'] = new SUT('bar')
345 ->when($result = $group->offsetExists('bar'))
355 $group = new SUT('foo'),
356 $group->beginTransaction(),
357 $group->beginTransaction(),
358 $group['bar'] = new SUT('bar')
360 ->when($result = $group->offsetExists('baz'))
370 $group = new SUT('foo'),
372 $group['bar'] = $exception1
374 ->when($result = $group->offsetGet('bar'))
384 $group = new SUT('foo'),
386 $group['bar'] = $exception1
388 ->when($result = $group->offsetGet('baz'))
398 $group = new SUT('foo'),
399 $group->beginTransaction(),
400 $group->beginTransaction(),
402 $group['bar'] = $exception1
404 ->when($result = $group->offsetGet('bar'))
414 $group = new SUT('foo'),
415 $group->beginTransaction(),
416 $group->beginTransaction(),
418 $group['bar'] = $exception1
420 ->when($result = $group->offsetGet('baz'))
429 ->given($group = new SUT('foo'))
430 ->when($group->offsetSet('bar', new \StdClass()))
432 ->boolean($group->offsetExists('bar'))
440 $group = new SUT('foo'),
443 ->when($result = $group->offsetExists('bar'))
448 ->when($group->offsetSet('bar', $exception1))
450 ->boolean($group->offsetExists('bar'))
452 ->object($group->offsetGet('bar'))
460 $group = new SUT('foo'),
463 ->when($group->offsetSet(null, $exception1))
465 ->boolean($group->offsetExists(0))
467 ->object($group->offsetGet(0))
475 $group = new SUT('foo'),
478 ->when($group->offsetSet(42, $exception1))
480 ->boolean($group->offsetExists(42))
482 ->boolean($group->offsetExists(0))
484 ->object($group->offsetGet(0))
492 $group = new SUT('foo'),
493 $group['bar'] = new SUT('bar')
495 ->when($group->offsetUnset('bar'))
497 ->boolean($group->offsetExists('bar'))
504 ->given($group = new SUT('foo'))
505 ->when($group->offsetUnset('bar'))
507 ->boolean($group->offsetExists('bar'))
515 $group = new SUT('foo'),
516 $group->beginTransaction(),
517 $group->beginTransaction(),
518 $group['bar'] = new SUT('bar')
520 ->when($result = $group->offsetUnset('bar'))
522 ->boolean($group->offsetExists('bar'))
530 $group = new SUT('foo'),
531 $group->beginTransaction(),
532 $group->beginTransaction()
534 ->when($result = $group->offsetUnset('bar'))
536 ->boolean($group->offsetExists('bar'))
544 $group = new SUT('foo'),
547 $group['bar'] = $exception1,
548 $group->beginTransaction(),
549 $group['baz'] = $exception2
551 ->when($result = $group->getExceptions())
563 $group = new SUT('foo'),
565 $group['bar'] = $exception1
567 ->when($result = $group->getIterator())
581 $group = new SUT('foo'),
584 $group['bar'] = $exception1,
585 $group->beginTransaction(),
586 $group['baz'] = $exception2
588 ->when($result = count($group))
598 $group = new SUT('foo'),
601 $group['bar'] = $exception1,
602 $group->beginTransaction(),
603 $group['baz'] = $exception2
605 ->when($result = $group->getStackSize())