public function testEmptyValue()
 {
     $formatter = new EngineBlock_Log_Formatter_Mail(array('array.value.secretEmpty'));
     $view = $formatter->format($this->_testEvent);
     $output = $view->message;
     $this->assertContains($this->_testEvent['message'], $output, "Testing that a key with an empty value does nothing");
 }
 /**
  * Places Zend_Views into an array in order to send a formatted mail for every log message
  *
  * @param  array $event Event data
  * @return void
  */
 protected function _write($event)
 {
     $view = $this->_engineBlockFormatter->format($event);
     $this->_eventsToMail[] = $view;
 }