Checks block edit functionality.
public function testPageEdit() {
$this
->drupalLogin($this->adminUser);
$block = $this
->createCustomBlock();
// Attempt to view the block.
$this
->drupalGet('custom-block/' . $block
->id());
// Assert response was '200' and not '403 Access denied'.
$this
->assertResponse('200', 'User was able the view the block');
}