DrupalTest.php in Autoload 7
File
src/Tests/Unit/DrupalTest.php
View source
<?php
namespace Drupal\autoload\Tests\Unit;
class DrupalTest extends AuxiliaryTest {
protected static $modules = array(
'autoload_test_drupal',
);
public static function getInfo() {
$info = parent::getInfo();
$info['name'] = 'Drupal';
$info['description'] = t('Testing functionality of autoload Drupal-way namespaces.');
return $info;
}
public function test() {
new \Drupal\autoload_test_drupal\PSR0();
new \Drupal\autoload_test_drupal\PSR4();
}
}