ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
ilLTIToolConsumerTest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
27 class ilLTIToolConsumerTest extends TestCase
28 {
29  public function testTitle(): void
30  {
31  $ltiToolConsumer = new ilLTIPlatform(
32  $this->createMock(ilLTIDataConnector::class)
33  );
34  $testString = str_shuffle(uniqid('abcdefgh'));
35  $ltiToolConsumer->setTitle($testString);
36 
37  $this->assertEquals($testString, $ltiToolConsumer->getTitle());
38  }
39 }
LTI provider for LTI launch.
Class ilLTIToolConsumerTest.