/** * @expectedException \Oro\Component\Layout\Exception\LogicException * @expectedExceptionMessage Cannot set theme(s) for "" item. Reason: The root item does not exist. */ public function testSetRootBlockThemeForUnknownItem() { $this->rawLayoutBuilder->setBlockTheme('MyBundle:Layout:my_theme.html.twig'); }