You are here

public function MFWTestCase::testElementInfo in Multiupload Filefield Widget 7

File

./multiupload_filefield_widget.test, line 20
Tests for Multiupload filefield widget

Class

MFWTestCase
@file Tests for Multiupload filefield widget

Code

public function testElementInfo() {
  $info = module_invoke('multiupload_filefield_widget', 'element_info');
  $this
    ->assertEqual(1, count($info), t('Module defines an element.'));
  $this
    ->assertTrue(isset($info['mfw_managed_file']), t('mfw_manged_file element exists.'));
}