Example #1
0
 /**
  * Renders the plugin info view.
  *
  * @return string (X)HTML.
  */
 protected function renderInfoView()
 {
     $view = new Realblog_InfoView();
     return $view->render();
 }
Example #2
0
 /**
  * Tests that the license info is rendered.
  *
  * @return void
  */
 public function testRendersLicense()
 {
     @$this->assertTag(array('tag' => 'p', 'attributes' => array('class' => 'realblog_license'), 'content' => 'This program is free software:'), $this->_subject->render());
 }