19 declare(strict_types=1);
    39     protected function setUp(): void
    42         $this->
language = $this->getMockBuilder(ilLanguage::class)
    43             ->disableOriginalConstructor()
    46         $this->group = 
new PasswordGroup($this->dataFactory, $this->
language);
    51         $instance = $this->group->hasMinLength(4);
    52         $this->assertInstanceOf(HasMinLength::class, $instance);
    57         $instance = $this->group->hasLowerChars();
    58         $this->assertInstanceOf(HasLowerChars::class, $instance);
    63         $instance = $this->group->hasNumbers();
    64         $this->assertInstanceOf(HasNumbers::class, $instance);
    69         $instance = $this->group->hasSpecialChars();
    70         $this->assertInstanceOf(HasSpecialChars::class, $instance);
    75         $instance = $this->group->hasUpperChars();
    76         $this->assertInstanceOf(HasUpperChars::class, $instance);