public function testCatchExceptionSessionException()
 {
     $this->responseMock->expects($this->once())->method('setRedirect');
     $this->responseMock->expects($this->once())->method('sendHeaders');
     $bootstrap = $this->getMock('Magento\\Framework\\App\\Bootstrap', [], [], '', false);
     $bootstrap->expects($this->once())->method('isDeveloperMode')->willReturn(false);
     $this->assertTrue($this->http->catchException($bootstrap, new \Magento\Framework\Exception\SessionException(new \Magento\Framework\Phrase('Test'))));
 }