public function testGeneralOptionsGetSet()
 {
     $options = new ezcAuthenticationOptions();
     $credentials = new ezcAuthenticationPasswordCredentials('john.doe', 'foobar');
     $authentication = new ezcAuthentication($credentials);
     $authentication->setOptions($options);
     $this->assertEquals($options, $authentication->getOptions());
 }