public function RemoveBlockRequestHandlerTest::removeBlockRequestRemovesTheBlock in Panels 8.4
@test
File
- panels_ipe/
tests/ src/ Unit/ RemoveBlockRequestHandlerTest.php, line 23
Class
Namespace
Drupal\Tests\panels_ipe\UnitCode
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());
}