Update JSessionTest.php
Mock the session for JFactory::getUser
Merge pull request #265 from wilsonge/patch-26

Update JSessionTest.php