/**
  * Performs a captured place of an element to use with buffer placing
  *
  * @param array $match  A regex match from ::placeBuffered()
  * @return string  The output of placing the element
  */
 private function placeBufferedCallback($match)
 {
     fBuffer::startCapture();
     $this->placeElement($match[1], $match[2]);
     return fBuffer::stopCapture();
 }
 public function testStopDuringCapture()
 {
     $this->setExpectedException('fProgrammerException');
     fBuffer::start();
     $this->started_buffer = TRUE;
     fBuffer::startCapture();
     $this->started_capture = TRUE;
     fBuffer::stop();
 }