예제 #1
0
 /**
  * @covers  \Joomla\Profiler\Renderer\DefaultRenderer::render
  */
 public function testTheRendererHandlesAnEmptyDataSet()
 {
     $this->assertEmpty($this->instance->render(new Profiler('test')));
 }
 /**
  * Tests the render method with an empty profiler.
  *
  * @return  void
  *
  * @covers  \Joomla\Profiler\Renderer\DefaultRenderer::render
  * @since   1.0
  */
 public function testRenderEmpty()
 {
     $profiler = new Profiler('test');
     $this->assertEmpty($this->instance->render($profiler));
 }