/** * Returns a mocked behat session object. * * @return \Behat\Mink\Session * The mocked session. */ protected function getSession() { return $this->session->reveal(); }