You are here

private function AddThisFunctionalityTestCase::addThisShouldDefineBlock in AddThis 7.4

1 call to AddThisFunctionalityTestCase::addThisShouldDefineBlock()
AddThisFunctionalityTestCase::testFunctionality in tests/AddThisFunctionalityTestCase.test

File

tests/AddThisFunctionalityTestCase.test, line 53
Tests for the AddThis-module.

Class

AddThisFunctionalityTestCase
@file Tests for the AddThis-module.

Code

private function addThisShouldDefineBlock() {
  $blockInfo = module_invoke(AddThis::MODULE_NAME, 'block_info');
  $this
    ->assertTrue(is_array($blockInfo), t('AddThis-module should define a block.'));
}