public function testSetGetProfiler() { $profiler = $this->getMock('\\Phprtest\\ProfilerInterface'); $this->instance->setProfiler($profiler); $this->assertEquals($profiler, $this->instance->getProfiler()); }