Esempio n. 1
0
 /**
  * @covers  \Joomla\Profiler\Profiler::getRenderer
  */
 public function testTheProfilerReturnsTheRenderer()
 {
     $this->assertInstanceOf('\\Joomla\\Profiler\\Renderer\\DefaultRenderer', $this->instance->getRenderer());
 }
 /**
  * Tests the getRenderer method.
  *
  * @return  void
  *
  * @covers  \Joomla\Profiler\Profiler::getRenderer
  * @since   1.0
  */
 public function testGetRenderer()
 {
     TestHelper::setValue($this->instance, 'renderer', true);
     $this->assertTrue($this->instance->getRenderer());
 }