ILIAS  Release_4_4_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilTermsOfServiceEntityFactoryTest Class Reference
+ Inheritance diagram for ilTermsOfServiceEntityFactoryTest:
+ Collaboration diagram for ilTermsOfServiceEntityFactoryTest:

Public Member Functions

 setUp ()
 testInstanceCanBeCreated ()
 testExceptionIsRaisedWhenUnknowEntityIsRequested ()
 InvalidArgumentException
 testAcceptanceEntityIsReturnedWhenRequestedByName ()

Protected Attributes

 $backupGlobals = false

Detailed Description

Author
Michael Jansen mjans.nosp@m.en@d.nosp@m.ataba.nosp@m.y.de
Version
$Id$

Definition at line 11 of file ilTermsOfServiceEntityFactoryTest.php.

Member Function Documentation

ilTermsOfServiceEntityFactoryTest::setUp ( )

Definition at line 21 of file ilTermsOfServiceEntityFactoryTest.php.

{
}
ilTermsOfServiceEntityFactoryTest::testAcceptanceEntityIsReturnedWhenRequestedByName ( )

Definition at line 46 of file ilTermsOfServiceEntityFactoryTest.php.

{
$this->assertInstanceOf('ilTermsOfServiceAcceptanceEntity', $factory->getByName('ilTermsOfServiceAcceptanceEntity'));
}
ilTermsOfServiceEntityFactoryTest::testExceptionIsRaisedWhenUnknowEntityIsRequested ( )

InvalidArgumentException

Definition at line 37 of file ilTermsOfServiceEntityFactoryTest.php.

{
$factory->getByName('PHP Unit');
}
ilTermsOfServiceEntityFactoryTest::testInstanceCanBeCreated ( )

Definition at line 28 of file ilTermsOfServiceEntityFactoryTest.php.

{
$this->assertInstanceOf('ilTermsOfServiceEntityFactory', $factory);
}

Field Documentation

ilTermsOfServiceEntityFactoryTest::$backupGlobals = false
protected

Definition at line 16 of file ilTermsOfServiceEntityFactoryTest.php.


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