Ejemplo n.º 1
0
 /**
  * @covers PasswordLib\Password\Implementation\Drupal
  */
 public function testCreateAndVerify()
 {
     $hash = new Drupal(array('cost' => 10));
     $test = $hash->create('Foobar');
     $this->assertTrue($hash->verify('Foobar', $test));
 }