Exemplo n.º 1
0
 public function testGenerateResetPasswordLinkToken()
 {
     $hash = 'hashString';
     $this->mathRandomMock->expects($this->once())->method('getUniqueHash')->willReturn($hash);
     $this->assertEquals($hash, $this->model->generateResetPasswordLinkToken());
 }