protected function setUp()
 {
     \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get('Magento\\Framework\\App\\State')->setAreaCode('frontend');
     $this->_block = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get('Magento\\Framework\\View\\LayoutInterface')->createBlock('Magento\\Checkout\\Block\\Cart\\Sidebar');
     $this->_block->addChild('renderer.list', '\\Magento\\Framework\\View\\Element\\RendererList');
     $this->_block->getChildBlock('renderer.list')->addChild('default', '\\Magento\\Checkout\\Block\\Cart\\Item\\Renderer', ['template' => 'cart/item/default.phtml']);
 }
 /**
  * {@inheritdoc}
  */
 public function getChildBlock($alias)
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getChildBlock');
     if (!$pluginInfo) {
         return parent::getChildBlock($alias);
     } else {
         return $this->___callPlugins('getChildBlock', func_get_args(), $pluginInfo);
     }
 }