ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilAssLacAbstractManufacturerTest Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilAssLacAbstractManufacturerTest:
+ Collaboration diagram for ilAssLacAbstractManufacturerTest:

Public Member Functions

 testConstruct ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from assBaseTestCase
 setUp ()
 
 tearDown ()
 
 getIRSSMock ()
 

Protected Attributes

 $backupGlobals = false
 
- Protected Attributes inherited from assBaseTestCase
Container $dic = null
 

Private Attributes

ilAssLacAbstractManufacturer $object
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Unit tests

Author
Matheus Zych mzych.nosp@m.@dat.nosp@m.abay..nosp@m.de

\

This test was automatically generated.

Definition at line 28 of file ilAssLacAbstractManufacturerTest.php.

Member Function Documentation

◆ setUp()

ilAssLacAbstractManufacturerTest::setUp ( )
protected

Definition at line 34 of file ilAssLacAbstractManufacturerTest.php.

References ILIAS\GlobalScreen\Provider\__construct(), and null.

34  : void
35  {
36  parent::setUp();
37 
38  $ilAssLacAbstractComposite = $this->createMock(ilAssLacAbstractComposite::class);
39 
40  $this->object = new class ($ilAssLacAbstractComposite) extends ilAssLacAbstractManufacturer {
41  public function __construct(
42  private readonly ilAssLacAbstractComposite $ilAssLacAbstractComposite
43  ) {
44  }
45 
46  public static function _getInstance(): ?ilAssLacManufacturerInterface
47  {
48  return null;
49  }
50 
51  public function manufacture(string $attribute): ilAssLacAbstractComposite
52  {
53  return $this->ilAssLacAbstractComposite;
54  }
55 
56  public function getPattern(): string
57  {
58  return '';
59  }
60  };
61  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

◆ testConstruct()

ilAssLacAbstractManufacturerTest::testConstruct ( )

Definition at line 63 of file ilAssLacAbstractManufacturerTest.php.

63  : void
64  {
65  $this->assertInstanceOf(ilAssLacAbstractManufacturer::class, $this->object);
66  }

Field Documentation

◆ $backupGlobals

ilAssLacAbstractManufacturerTest::$backupGlobals = false
protected

Definition at line 30 of file ilAssLacAbstractManufacturerTest.php.

◆ $object

ilAssLacAbstractManufacturer ilAssLacAbstractManufacturerTest::$object
private

Definition at line 32 of file ilAssLacAbstractManufacturerTest.php.


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