12require_once(
'./libs/composer/vendor/autoload.php');
24 $language = $this->getMockBuilder(
'\ilLanguage')
25 ->disableOriginalConstructor()
28 $this->group =
new Group($dataFactory, $language);
33 $instance = $this->group->hasMaxLength(42);
34 $this->assertInstanceOf(HasMaxLength::class, $instance);
38 $instance = $this->group->hasMinLength(42);
39 $this->assertInstanceOf(HasMinLength::class, $instance);
An exception for terminatinating execution or to throw for unit testing.
testGreaterThanInstance()