Exemplo n.º 1
0
 /**
  * @covers ZfcUser\Form\Login::getAuthenticationOptions
  * @covers ZfcUser\Form\Login::setAuthenticationOptions
  */
 public function testSetGetAuthenticationOptions()
 {
     $options = $this->getMock('ZfcUser\\Options\\AuthenticationOptionsInterface');
     $options->expects($this->once())->method('getAuthIdentityFields')->will($this->returnValue(array()));
     $form = new Form(null, $options);
     $this->assertSame($options, $form->getAuthenticationOptions());
 }