public function testGetParentId() { $this->rawLayoutBuilder->add('root', null, 'root')->add('header', 'root', 'header'); $this->assertNull($this->rawLayoutBuilder->getParentId('root')); $this->assertEquals('root', $this->rawLayoutBuilder->getParentId('header')); }