public function testClear() { $this->rawLayout->add('root', null, 'root'); $this->rawLayout->clear(); $this->assertTrue($this->rawLayout->isEmpty()); }