/** * @expectedException RuntimeException */ public function testHasherThrowsExceptionIfNotSet() { $user = new User(); $user->checkHash('foo', 'bar'); }
/** * @expectedException RuntimeException */ public function testHasherThrowsExceptionIfNotSet() { $user = new User(); $user->checkHash('foo', 'bar'); }