ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilCertificateQueueEntryTest Class Reference
+ Inheritance diagram for ilCertificateQueueEntryTest:
+ Collaboration diagram for ilCertificateQueueEntryTest:

Public Member Functions

 testEntryCanBeInstantiated ()
 

Additional Inherited Members

- Protected Member Functions inherited from ilCertificateBaseTestCase
 setUp ()
 
 tearDown ()
 
 assertDoesNotThrow (callable $cb, string $message='')
 
 assertThrows (callable $cb, ?string $expected_class=null, ?string $expected_message=null)
 @template T of Throwable More...
 
 setGlobalVariable (string $name, mixed $value)
 
- Protected Attributes inherited from ilCertificateBaseTestCase
Container $dic
 

Detailed Description

Definition at line 21 of file ilCertificateQueueEntryTest.php.

Member Function Documentation

◆ testEntryCanBeInstantiated()

ilCertificateQueueEntryTest::testEntryCanBeInstantiated ( )

Definition at line 23 of file ilCertificateQueueEntryTest.php.

23 : void
24 {
25 $timestamp = time();
26
27 $queueEntry = new ilCertificateQueueEntry(
28 10,
29 500,
30 'SomeClass',
31 'SomeState',
32 1000,
34 20
35 );
36
37 $this->assertSame(20, $queueEntry->getId());
38 $this->assertSame(10, $queueEntry->getObjId());
39 $this->assertSame(500, $queueEntry->getUserId());
40 $this->assertSame(1000, $queueEntry->getTemplateId());
41 $this->assertSame('SomeClass', $queueEntry->getAdapterClass());
42 $this->assertSame('SomeState', $queueEntry->getState());
43 $this->assertSame($timestamp, $queueEntry->getStartedTimestamp());
44 }
foreach($mandatory_scripts as $file) $timestamp
Definition: buildRTE.php:70

References $timestamp.


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