11 $deleteMock = $this->getMockBuilder(
'ilCertificateTemplateDeleteAction')
12 ->disableOriginalConstructor()
13 ->setMethods(array(
'delete'))
16 $deleteMock->expects($this->
once())
19 $settingMock = $this->getMockBuilder(
'ilSetting')
20 ->disableOriginalConstructor()
25 $action->delete(10, 200,
'v5.4.0');
testDeleteScormTemplateAndSettings()
once($eventName, callable $callBack, $priority=100)
Subscribe to an event exactly once.