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->isGreaterThan(42);
34 $this->assertInstanceOf(GreaterThan::class, $instance);
38 $instance = $this->group->isLessThan(42);
39 $this->assertInstanceOf(LessThan::class, $instance);
An exception for terminatinating execution or to throw for unit testing.
testGreaterThanInstance()