public function testBypassShouldRenderNormalOutput()
{
ob_start();
$this->bundle->start(array('bypass' => true));
echo $this->includeAll();
$this->bundle->end();
$contents = ob_get_clean();
$this->bundle->render();
$this->assertEquals($this->includeAll(), $contents);
$this->bundle->getCssFileList()->reset();
$this->bundle->getJsFileList()->reset();
$this->bundle->setBypass(true);
ob_start();
$this->bundle->start();
echo $this->includeSome();
$this->bundle->end();
$this->bundle->start();
echo $this->includeAll();
$this->bundle->end();
$contents = ob_get_clean();
$this->bundle->render();
$this->assertEquals($this->includeSome() . $this->includeAll(), $contents);
}