/** * @expectedException \Oro\Component\Layout\Exception\LogicException * @expectedExceptionMessage Cannot remove "test" alias. Reason: The "test" item alias does not exist. */ public function testRemoveUnknownAlias() { $this->rawLayoutBuilder->removeAlias('test'); }