/** * @expectedException \Oro\Component\Layout\Exception\LogicException * @expectedExceptionMessage Cannot remove "root" item from the layout. Reason: The "root" item does not exist. */ public function testRemoveUnknownItem() { $this->rawLayoutBuilder->remove('root'); }