ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilCertificateQueueEntryTest Class Reference
+ Inheritance diagram for ilCertificateQueueEntryTest:
+ Collaboration diagram for ilCertificateQueueEntryTest:

Public Member Functions

 testEntryCanBeInstantiated ()
 

Detailed Description

Author
Niels Theen nthee.nosp@m.n@da.nosp@m.tabay.nosp@m..de

Definition at line 7 of file ilCertificateQueueEntryTest.php.

Member Function Documentation

◆ testEntryCanBeInstantiated()

ilCertificateQueueEntryTest::testEntryCanBeInstantiated ( )

Definition at line 9 of file ilCertificateQueueEntryTest.php.

References $timestamp.

10  {
11  $timestamp = time();
12 
13  $queueEntry = new ilCertificateQueueEntry(
14  10,
15  500,
16  'SomeClass',
17  'SomeState',
18  '1000',
19  $timestamp,
20  20
21  );
22 
23  $this->assertEquals(20, $queueEntry->getId());
24  $this->assertEquals(10, $queueEntry->getObjId());
25  $this->assertEquals(500, $queueEntry->getUserId());
26  $this->assertEquals(1000, $queueEntry->getTemplateId());
27  $this->assertEquals('SomeClass', $queueEntry->getAdapterClass());
28  $this->assertEquals('SomeState', $queueEntry->getState());
29  $this->assertEquals($timestamp, $queueEntry->getStartedTimestamp());
30  }
foreach($mandatory_scripts as $file) $timestamp
Definition: buildRTE.php:81

The documentation for this class was generated from the following file: