/** * @covers \Joomla\Profiler\Profiler::hasPoint * @uses \Joomla\Profiler\Profiler::mark */ public function testTheProfilerChecksIfAPointHasBeenAdded() { $this->assertFalse($this->instance->hasPoint('test')); $this->instance->mark('test'); $this->assertTrue($this->instance->hasPoint('test')); }
/** * Tests the hasPoint method. * * @return void * * @covers \Joomla\Profiler\Profiler::hasPoint * @since 1.0 */ public function testHasPoint() { $this->assertFalse($this->instance->hasPoint('test')); $this->instance->mark('test'); $this->assertTrue($this->instance->hasPoint('test')); }