/** * Test case */ public function testVerifyShouldReturnFalseForNotMatchingHash() { $hash = $this->hasher->encodePassword('foobar'); $this->assertFalse($this->hasher->isPasswordValid('notfoo', $hash)); }