public function testLoad()
 {
     $scope = 'website';
     $scopeId = 1;
     $this->configFactory->expects($this->once())->method('create')->with($scope, $scopeId)->willReturn($this->designConfig);
     $this->designConfig->expects($this->once())->method('getExtensionAttributes')->willReturn($this->designConfigExtension);
     $this->designConfigExtension->expects($this->once())->method('getDesignConfigData')->willReturn([$this->designConfigData]);
     $this->designConfigData->expects($this->atLeastOnce())->method('getPath')->willReturn('path');
     $this->scopeConfig->expects($this->once())->method('getValue')->with('path', $scope, $scopeId)->willReturn('value');
     $this->valueProcessor->expects($this->once())->method('process')->with('value', 'path')->willReturnArgument(0);
     $this->designConfigData->expects($this->once())->method('setValue')->with('value');
     $this->assertSame($this->designConfig, $this->model->load($scope, $scopeId));
 }
 /**
  * @inheritDoc
  */
 public function getByScope($scope, $scopeId)
 {
     return $this->configStorage->load($scope, $scopeId);
 }