ExampleWebTest.php in X Autoload 7.2
File
modules/xautoload_example/lib/Drupal/xautoload_example/Tests/ExampleWebTest.php
View source
<?php
namespace Drupal\xautoload_example\Tests;
class ExampleWebTest extends \DrupalWebTestCase {
static function getInfo() {
return array(
'name' => 'X Autoload example web test',
'description' => 'This test class is only to prove that disabled modules still have their web tests working.',
'group' => 'X Autoload Example',
);
}
function testStringConcat() {
$this
->assert('aa' + 'bb' == 'aabb', "'aa' + 'bb' == 'aabb'");
}
}