4 require_once
'Services/TermsOfService/classes/class.ilTermsOfServiceTableDataProviderFactory.php';
30 $this->assertInstanceOf(
'ilTermsOfServiceTableDataProviderFactory', $factory);
50 $lng = $this->getMockBuilder(
'ilLanguage')->disableOriginalConstructor()->getMock();
61 $db = $this->getMockBuilder(
'ilDB')->disableOriginalConstructor()->getMock();
94 $factory->
setLanguageAdapter($this->getMockBuilder(
'ilLanguage')->disableOriginalConstructor()->getMock());
104 $factory->
setDatabaseAdapter($this->getMockBuilder(
'ilDB')->disableOriginalConstructor()->getMock());
const CONTEXT_ACCEPTANCE_HISTORY
testExceptionIsRaisedWhenAgreementByLanguageProviderIsRequestedWithoutCompleteFactoryConfiguration(ilTermsOfServiceTableDataProviderFactory $factory)
testInstanceCanBeCreated
testFactoryShouldReturnLanguageAdapterWhenLanguageAdapterIsSet(ilTermsOfServiceTableDataProviderFactory $factory)
const CONTEXT_AGRREMENT_BY_LANGUAGE
testExceptionIsRaisedWhenAcceptanceHistoryProviderIsRequestedWithoutCompleteFactoryConfiguration(ilTermsOfServiceTableDataProviderFactory $factory)
testInstanceCanBeCreated
testInstanceCanBeCreated()
testFactoryShouldReturnAcceptanceHistoryProviderWhenRequested(ilTermsOfServiceTableDataProviderFactory $factory)
testExceptionIsRaisedWhenUnsupportedProviderIsRequested(ilTermsOfServiceTableDataProviderFactory $factory)
testInstanceCanBeCreated
testFactoryShouldReturnAgreementByLanguageProviderWhenRequested(ilTermsOfServiceTableDataProviderFactory $factory)
testFactoryShouldReturnDatabaseAdapterWhenDatabaseAdapterIsSet(ilTermsOfServiceTableDataProviderFactory $factory)