public function testRegistered() { $app = new \Concrete\Core\Application\Application(); $provider = new \Concrete\Core\Validator\PasswordValidatorServiceProvider($app); $provider->register(); $this->assertTrue($app->bound('validator/password')); }
/** * Determine if the given abstract type has been bound. * * @param string $abstract * @return bool */ public static function bound($abstract) { return static::$instance->bound($abstract); }