ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilCertificateQueueEntryTest.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
8 {
9  public function testEntryCanBeInstantiated()
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  }
31 }
foreach($mandatory_scripts as $file) $timestamp
Definition: buildRTE.php:81