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

Public Member Functions

 testTypeIsNotSupportedAndWillThrowAnException ()
 ilException More...
 

Detailed Description

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

Definition at line 7 of file ilCertificateFactoryTest.php.

Member Function Documentation

◆ testTypeIsNotSupportedAndWillThrowAnException()

ilCertificateFactoryTest::testTypeIsNotSupportedAndWillThrowAnException ( )

ilException

Definition at line 12 of file ilCertificateFactoryTest.php.

References $factory.

13  {
14  $object = $this->getMockBuilder('ilObject')
15  ->disableOriginalConstructor()
16  ->getMock();
17 
18  $object->method('getType')
19  ->willReturn('something');
20 
22 
23  $factory->create($object);
24 
25  $this->fail('Should never happen');
26  }
$factory
Definition: metadata.php:43

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