Exemplo n.º 1
0
 /**
  * @covers  \Joomla\Profiler\Profiler::setStart
  *
  * @expectedException  \RuntimeException
  */
 public function testTheProfilerStartTimeAndMemoryCannotBeChangedIfAPointHasBeenMarked()
 {
     $time = microtime(true);
     $memory = memory_get_usage(false);
     $this->instance->mark('test');
     $this->instance->setStart($time, $memory);
 }