/** * @covers PasswordLib\Password\Implementation\Hash * @expectedException BadMethodCallException */ public function testCreate() { $hash = new Hash('md5'); $hash->create('foo'); }
/** * @covers PasswordLib\Password\Implementation\Hash * @expectedException BadMethodCallException */ public function testCreate() { $hash = new Hash(array('hash' => 'md5')); $hash->create('foo'); }