/** * {@inheritdoc} */ public function setUp() { parent::setUp(); $this->pjax = $this->prophesize('\\Strontium\\PjaxBundle\\Helper\\PjaxHelperInterface'); $this->listener = new KernelResponseListener($this->pjax->reveal()); }