/**
  * @testdox  Tests that getIdentity() by default returns null.
  *
  * @covers  JApplicationBase::getIdentity
  */
 public function testGetIdentity()
 {
     $this->assertNull($this->class->getIdentity());
 }
 /**
  * Tests the JApplicationBase::loadIdentity and JApplicationBase::getIdentity methods.
  *
  * @return  void
  *
  * @since   12.3
  */
 public function testLoadGetIdentityGetJUser()
 {
     $mock = $this->getMock('JUser', array(), array(), '', false);
     $this->class->loadIdentity($mock);
     $this->assertInstanceOf('JUser', $this->class->getIdentity());
 }