4 require_once
'Services/TermsOfService/classes/class.ilTermsOfServiceEntityFactory.php';
5 require_once
'Services/TermsOfService/classes/class.ilTermsOfServiceDataGatewayFactory.php';
6 require_once
'Services/TermsOfService/test/ilTermsOfServiceBaseTest.php';
33 $this->assertInstanceOf(
'ilTermsOfServiceEntityFactory', $factory);
43 $factory->getByName(
'PHP Unit');
52 $this->assertInstanceOf(
'ilTermsOfServiceAcceptanceEntity', $factory->getByName(
'ilTermsOfServiceAcceptanceEntity'));
testAcceptanceEntityIsReturnedWhenRequestedByName()
assertException($exception_class)
testExceptionIsRaisedWhenUnknowEntityIsRequested()
InvalidArgumentException
testInstanceCanBeCreated()