15 $factory = new \ilTermsOfServiceEntityFactory();
17 $this->assertInstanceOf(
'ilTermsOfServiceEntityFactory',
$factory);
27 $factory = new \ilTermsOfServiceEntityFactory();
36 $factory = new \ilTermsOfServiceEntityFactory();
38 $this->assertInstanceOf(
39 'ilTermsOfServiceAcceptanceEntity',
40 $factory->getByName(
'ilTermsOfServiceAcceptanceEntity')
testAcceptanceEntityIsReturnedWhenRequestedByName()
assertException(string $exceptionClass)
testExceptionIsRaisedWhenUnknownEntityIsRequested()
Class ilTermsOfServiceEntityFactoryTest.
Class ilTermsOfServiceBaseTest.
testInstanceCanBeCreated()