16 ->getMockBuilder(\ilRbacReview::class)
17 ->disableOriginalConstructor()
18 ->setMethods([
'isGlobalRole',
'isAssigned',
'getGlobalRoles'])
22 ->expects($this->any())
23 ->method(
'getGlobalRoles')
34 $objectDataCache = $this
35 ->getMockBuilder(\ilObjectDataCache::class)
36 ->disableOriginalConstructor()
39 return $objectDataCache;
48 ->getMockBuilder(\ilRadioGroupInputGUI::class)
49 ->disableOriginalConstructor()
50 ->setMethods([
'getPostVar'])
62 ->getMockBuilder(\ilPropertyFormGUI::class)
63 ->disableOriginalConstructor()
64 ->setMethods([
'getInput'])
76 ->getMockBuilder(\ilObjUser::class)
77 ->disableOriginalConstructor()
78 ->setMethods([
'getLanguage',
'getId',
'getLogin'])
82 ->expects($this->any())
87 ->expects($this->any())
89 ->willReturn(
'phpunit');
Class ilTermsOfServiceCriterionBaseTest.
Class ilTermsOfServiceBaseTest.
if(isset($_POST['submit'])) $form
class ilRbacReview Contains Review functions of core Rbac.