public function testReopenASection() {
$stopwatch = new Stopwatch();
$stopwatch
->openSection();
$stopwatch
->start('foo', 'cat');
$stopwatch
->stopSection('section');
$stopwatch
->openSection('section');
$stopwatch
->start('bar', 'cat');
$stopwatch
->stopSection('section');
$events = $stopwatch
->getSectionEvents('section');
$this
->assertCount(3, $events);
$this
->assertCount(2, $events['__section__']
->getPeriods());
}