11 $object = $this->getMockBuilder(
'ilObject')
12 ->disableOriginalConstructor()
16 ->expects($this->atLeastOnce())
20 $language = $this->getMockBuilder(
'ilLanguage')
21 ->disableOriginalConstructor()
24 $controller = $this->getMockBuilder(
'ilCtrl')
25 ->disableOriginalConstructor()
28 $access = $this->getMockBuilder(
'ilAccess')
29 ->disableOriginalConstructor()
32 $toolbar = $this->getMockBuilder(
'ilToolbarGUI')
33 ->disableOriginalConstructor()
36 $placeholderDescriptionObject = $this->getMockBuilder(
'ilCertificatePlaceholderDescription')
37 ->disableOriginalConstructor()
40 $leaningProgressObject = $this->getMockBuilder(
'ilObjectLP')
41 ->disableOriginalConstructor()
44 $settingsFormFactory = $this->getMockBuilder(
'ilCertificateSettingsFormRepository')
45 ->disableOriginalConstructor()
48 $trackingHelper = $this->getMockBuilder(
'ilCertificateObjUserTrackingHelper')
49 ->disableOriginalConstructor()
52 $objectHelper = $this->getMockBuilder(
'ilCertificateObjectHelper')
53 ->disableOriginalConstructor()
56 $lpHelper = $this->getMockBuilder(
'ilCertificateObjectLPHelper')
57 ->disableOriginalConstructor()
60 $lpMock = $this->getMockBuilder(
'ilObjectLP')
61 ->disableOriginalConstructor()
64 $lpMock->method(
'getCurrentMode')
67 $lpHelper->method(
'getInstance')->willReturn($lpMock);
69 $tree = $this->getMockBuilder(
'ilTree')
70 ->disableOriginalConstructor()
73 $setting = $this->getMockBuilder(
'ilSetting')
74 ->disableOriginalConstructor()
78 ->expects($this->atLeastOnce())
89 $placeholderDescriptionObject,
90 $leaningProgressObject,
99 $repository->save(array(
'subitems' => array(1, 2, 3)));