public function testBreak(array $breaks, array $assertions)
{
$prototype = ['benchmarks' => ['oneBench', 'twoBench'], 'subjects' => ['subjectOne', 'subjectTwo'], 'output_time_unit' => 'milliseconds', 'output_time_precision' => 7, 'output_mode' => 'throughput', 'env' => ['uname' => ['os' => 'linux', 'type' => 'penguin']]];
$collection = TestUtil::createCollection([$prototype, $prototype]);
$report = $this->generate($collection, ['break' => $breaks]);
foreach ($assertions as $expression => $count) {
$this->assertXPathCount($report, $count, $expression);
}
}