public function RemoveBlockRequestHandlerTest::removeBlockRequestRemovesTheBlock in Panels 8.3
@test
File
- tests/
src/ Unit/ panels_ipe/ RemoveBlockRequestHandlerTest.php, line 27
Class
Namespace
Drupal\Tests\panels\Unit\panels_ipeCode
public function removeBlockRequestRemovesTheBlock() {
$this->panelsDisplay
->expects($this
->once())
->method('removeBlock');
$this->sut
->handleRequest($this->panelsDisplay, $this
->createRequest('someblock'));
$this
->assertEquals(new JsonResponse([]), $this->sut
->getJsonResponse());
}