ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
ilCertificateTestTemplateDeleteActionTest.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
3
7
class
ilCertificateTestTemplateDeleteActionTest
extends
ilCertificateBaseTestCase
8
{
9
public
function
testDelete
()
10
{
11
$deleteAction = $this->getMockBuilder(
'ilCertificateDeleteAction'
)
12
->getMock();
13
14
$deleteAction
15
->expects($this->once())
16
->method(
'delete'
);
17
18
$objectHelper = $this->getMockBuilder(
'ilCertificateObjectHelper'
)
19
->getMock();
20
21
$object = $this->getMockBuilder(
'ilObjTest'
)
22
->disableOriginalConstructor()
23
->getMock();
24
25
$object
26
->expects($this->never())
27
->method(
'saveCertificateVisibility'
);
28
29
$objectHelper->method(
'getInstanceByObjId'
)
30
->willReturn($object);
31
32
$action =
new
ilCertificateTestTemplateDeleteAction
(
33
$deleteAction,
34
$objectHelper
35
);
36
37
$action->delete(100, 200,
'v5.4.0'
);
38
}
39
}
ilCertificateBaseTestCase
Class ilCertificateBaseTestCase.
Definition:
ilCertificateBaseTestCase.php:10
ilCertificateTestTemplateDeleteAction
Definition:
class.ilCertificateTestTemplateDeleteAction.php:7
ilCertificateTestTemplateDeleteActionTest\testDelete
testDelete()
Definition:
ilCertificateTestTemplateDeleteActionTest.php:9
ilCertificateTestTemplateDeleteActionTest
Definition:
ilCertificateTestTemplateDeleteActionTest.php:7
Services
Certificate
test
ilCertificateTestTemplateDeleteActionTest.php
Generated on Wed Apr 9 2025 21:01:25 for ILIAS by
1.8.13 (using
Doxyfile
)