public function testExecuteWithException()
 {
     $this->prepareMocksForTestExecute();
     $this->blockRepository->expects($this->once())->method('save')->with($this->cmsBlock)->willThrowException(new \Exception(__('Exception')));
     $this->resultJson->expects($this->once())->method('setData')->with(['messages' => ['[Block ID: 1] Exception'], 'error' => true])->willReturnSelf();
     $this->controller->execute();
 }