public function testRegistered()
 {
     $app = new \Concrete\Core\Application\Application();
     $provider = new \Concrete\Core\Validator\PasswordValidatorServiceProvider($app);
     $provider->register();
     $this->assertTrue($app->bound('validator/password'));
 }
示例#2
0
 /**
  * Unset the value at a given offset.
  *
  * @param  string  $key
  * @return void
  */
 public static function offsetUnset($key)
 {
     return static::$instance->offsetUnset($key);
 }