/**
  * Tests BasicSecurityToken->getModuleId()
  */
 public function testGetModuleId()
 {
     $this->assertEquals(1, $this->BasicSecurityToken->getModuleId());
     $this->setExpectedException('Exception');
     $this->anonymousToken->getModuleId();
 }
 /**
  * Tests BasicSecurityToken->getModuleId()
  */
 public function testGetModuleId()
 {
     $this->assertEquals(1, $this->BasicSecurityToken->getModuleId());
 }