/**
  * @return void
  */
 public function testRenderChildComponent()
 {
     $name = 'componentName';
     $expectedResult = 'some html code';
     /** @var \Magento\Framework\View\Element\UiComponentInterface|MockObject $uiComponentMock */
     $uiComponentMock = $this->getMock('Magento\\Framework\\View\\Element\\UiComponentInterface');
     $uiComponentMock->expects($this->once())->method('render')->willReturn($expectedResult);
     $this->abstractComponent->addComponent($name, $uiComponentMock);
     $this->assertEquals($expectedResult, $this->abstractComponent->renderChildComponent($name));
 }