コード例 #1
0
 /**
  * Test case
  */
 public function testVerifyShouldReturnFalseForNotMatchingHash()
 {
     $hash = $this->hasher->encodePassword('foobar');
     $this->assertFalse($this->hasher->isPasswordValid('notfoo', $hash));
 }